Skip to main content
Glama

Describe entity

describe_entity
Read-only

Returns an entity's fields, required values, enum options, link targets, and relations to validate filters and create or update records correctly before working with unfamiliar data.

Instructions

Return the fields of an entity (type, required, enum options, link target) and its relations. Call before filtering, creating or updating records of an unfamiliar entity.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "entity": "<entity>"
    },
    "name": "describe_entity"
  }
}

Input Schema

NameRequiredDescriptionDefault
entityYesEntity type, e.g. Product, Category, Brand, File. Use list_entities to discover.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

A4/5.0
Behavior3/5

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

The annotations already declare readOnlyHint=true and openWorldHint=false, so the safety profile is covered; the description adds that relations are included in the response, which is useful since no output schema exists. Beyond that it says nothing about response size, whether relations are expanded or just referenced, or failure behavior for unknown entity names.

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

Conciseness5/5

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

Two sentences, zero filler: the return contract is front-loaded and the usage prerequisite follows. Every clause carries information an agent needs to call the tool correctly.

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?

With no output schema, the description must carry the return-value burden, and it does by naming the four field facets plus relations. It would be stronger if it clarified whether relations are expanded or merely listed, but for a one-parameter read-only introspection tool it is essentially complete.

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% and the single parameter carries its own description, naming pattern constraint, and examples (Product, Category, Brand, File) plus the list_entities discovery hint. The description adds no additional meaning about the entity argument, so baseline 3 applies.

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?

States a specific verb and resource ("Return the fields of an entity ... and its relations") and enumerates exactly what metadata is returned: type, required, enum options, link target. This makes it unmistakably a schema-introspection tool, distinguishable from data-returning siblings like get_record or search_records.

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

Usage Guidelines4/5

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

Explicit ordering guidance: "Call before filtering, creating or updating records of an unfamiliar entity" tells the agent both when to use it and its position in a workflow. It stops short of stating when-not to use it (e.g., skip if the entity is already known), and relies on the schema for the list_entities discovery route.

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