Skip to main content
Glama

generate_data_entity

Read-onlyIdempotent

WHEN: developer needs to CREATE a data entity (AxDataEntityView) AOT XML from a table for OData/DMF/data migration. Triggers: 'create data entity', 'generate entity', 'créer une data entity', 'exposer table via OData', 'DMF entity', 'entity for OData', 'entité de données', 'générer entity XML', 'AxDataEntityView pour', 'data entity from table'. Produces complete AxDataEntityView AOT XML with data sources, field mappings, entity key, IsPublic/PublicEntityName for OData, staging table template. Uses real field names and relations from the local custom model. ALWAYS call find_entity_for_table first to verify a standard entity doesn't already exist.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
fieldsNoOptional: specific fields to include (comma-separated). All fields if not specified.
isPublicNoWhether the entity should be available via OData (default: true)
tableNameYesPrimary table name, e.g. 'SalesTable', 'CustTable'
entityNameYesDesired entity name, e.g. 'ALMSalesOrderEntity'
joinTablesNoOptional: additional tables to join (comma-separated), e.g. 'CustTable,InventDim'
publicEntityNameNoOptional: OData collection name (e.g. 'SalesOrders'). Auto-generated if not provided.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added
  2. Removed
  3. Changed1 schema field changed
    • changedInput schema / properties / entityName / description
      Previous value: -"Desired entity name, e.g. 'HSOSalesOrderEntity'"New value: +"Desired entity name, e.g. 'ALMSalesOrderEntity'"
  4. First observed

TDQS

A4.3/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already declare readOnlyHint=true, idempotentHint=true, and destructiveHint=false, so the safety profile is covered. The description adds behavioral context by stating it produces complete AxDataEntityView XML with data sources, field mappings, entity key, OData public naming, and a staging table template, and that it uses real field names and relations from the local custom model. This clarifies the read-only, generative nature of the tool beyond the annotations.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is well-structured with a 'WHEN' label, a trigger list, output details, and a clearly highlighted always-do instruction. It is longer than average due to the trigger phrases, but those phrases serve a real purpose for agent intent matching and are organized into a discrete section rather than buried in prose.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given there is no output schema, the description does a good job explaining what the tool produces: complete AxDataEntityView AOT XML with data sources, field mappings, entity key, OData settings, and staging table template. It also communicates essential context about using the local custom model and the prerequisite call to find_entity_for_table. It could be more explicit about how the XML is returned (e.g., string vs. file), but the core information needed to invoke and interpret the tool is present.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so the schema already documents all six parameters. The description adds some context by linking parameters to outputs — e.g., field mappings, IsPublic/PublicEntityName for OData, and join/data source behavior — but it does not add per-parameter details beyond what the schema provides. Score 3 is the appropriate baseline for full schema coverage.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a highly specific action — CREATE/generate a data entity (AxDataEntityView) AOT XML from a table — and clarifies the intended use cases: OData, DMF, and data migration. It includes a broad set of trigger phrases that make intent matching robust, and the mention of AxDataEntityView clearly distinguishes it from generic AOT creation tools like create_aot_object.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description explicitly says WHEN to use the tool ('developer needs to CREATE a data entity...'), provides trigger examples, and gives a mandatory precondition: 'ALWAYS call find_entity_for_table first to verify a standard entity doesn't already exist.' This effectively defines when not to generate a new entity and names the sibling tool to consult first.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.