Secure, attribute-driven Doctrine ORM CRUD over Model Context Protocol for Symfony applications.
Doctrine MCP Bundle demonstrates solid fundamentals: all 8 tools have clear verb-noun naming (doctrine_list_*, doctrine_describe_*, doctrine_search, doctrine_get, doctrine_create, doctrine_update, doctrine_delete, doctrine_reference_values), explicit descriptions (100-200 chars, well-aligned with LLM optimization), and proper JSON Schema input definitions with typed parameters. Tool annotations (readOnlyHint, destructiveHint, idempotentHint) are correctly applied. However, output schemas are not documented in the source, responses are described as 'array<string, mixed>' without field-level detail. Parameter descriptions are present but minimal (e.g., 'The entity name to describe' lacks guidance on format or discovery). Error handling and recovery guidance are not visible in the provided code. Dry-run patterns on write operations (create, update, delete) are well-designed for safety.
Preview or create an entity. dryRun defaults to true; pass false only after reviewing the preview.
Preview or delete a scoped entity. dryRun defaults to true.
Describe one exposed Doctrine entity, including identifiers, writable fields, filters, formats and references.
Read one exposed entity by its identifier object inside the actor scope.
List Doctrine entities and CRUD operations exposed to the current actor.
List or search allowed values from an actor-aware field reference provider.
Output schemas not documented. All tools return 'array<string, mixed>' with no field-level specification. LLMs cannot plan downstream tool calls or extract required data (e.g., entity IDs for chaining) without knowing response structure.
Parameter descriptions are minimal and lack format/constraint guidance. E.g., 'The entity name to describe' does not explain valid entity names, discovery method, or case sensitivity. 'Field => value for equality or field => {op, value}' in doctrine_search lacks examples of valid operators.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | C | 62 | 2026-07-28+ | v2 |
Search an exposed entity inside the actor scope using allow-listed filters and cursor pagination.
Preview or update writable fields on a scoped entity. dryRun defaults to true.
No error handling or recovery guidance visible in source. Tools return 'array<string, mixed>' but no documentation of error response format, error codes, or what the LLM should do on failure (retry, ask user, abort).
Pagination in doctrine_search and doctrine_reference_values uses opaque cursor but no documentation of total count, has_more, or next_cursor field names. LLMs cannot determine when to stop iterating.
doctrine_reference_values parameter 'reference' lacks description of valid reference provider identifiers. No guidance on discovery or how to obtain a reference ID from doctrine_describe_entity.