Skip to main content
Glama

get_entity

One entity as structured data: fields, sections, tables and its references both ways. Use to reason over an entity; for its page as written use fetch. Input: id, or type and name; an ambiguous name is refused with candidate ids. Returns entity. Each reference list holds at most 50 edges; referenceCounts gives the totals and list_references the rest.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idNoThe entity's id, as any answer gives it
nameNoThe canonical name, the entity's H1; needs type
typeNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
modelYes
entityYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedOutput schema / properties / entity / properties / image_url
      Added value: +{
      +  "type": "string"
      +}
  2. Changed6 schema fields changed
    • addedInput schema / properties / id
      Added value: +{
      +  "description": "The entity's id, as any answer gives it",
      +  "type": "string"
      +}
    • changedInput schema / properties / name / description
      Previous value: -"The canonical name, the entity's H1"New value: +"The canonical name, the entity's H1; needs type"
    • removedInput schema / required
      Removed value: -[
      -  "type",
      -  "name"
      -]
    • changedOutput schema / additionalProperties
      Previous value: -{}New value: +false
    • addedOutput schema / properties / entity
      Added value: +{
      +  "additionalProperties": {},
      +  "properties": {
      +    "fields": {
      +      "additionalProperties": {},
      +      "propertyNames": {
      +        "type": "string"
      +      },
      +      "type": "object"
      +    },
      +    "id": {
      +      "type": "string"
      +    },
      +    "name": {
      +      "type": "string"
      +    },
      +    "owner": {
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "path": {
      +      "type": "string"
      +    },
      +    "referenceCounts": {
      +      "additionalProperties": false,
      +      "properties": {
      +        "referencedBy": {
      +          "maximum": 9007199254740991,
      +          "minimum": 0,
      +          "type": "integer"
      +        },
      +        "references": {
      +          "maximum": 9007199254740991,
      +          "minimum": 0,
      +          "type": "integer"
      +        }
      +      },
      +      "required": [
      +        "references",
      +        "referencedBy"
      +      ],
      +      "type": "object"
      +    },
      +    "referencedBy": {
      +      "items": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "attrs": {
      +            "additionalProperties": {
      +              "anyOf": [
      +                {
      +                  "type": "string"
      +                },
      +                {
      +                  "additionalProperties": false,
      +                  "properties": {
      +                    "id": {
      +                      "type": "string"
      +                    },
      +                    "name": {
      +                      "type": "string"
      +                    },
      +                    "type": {
      +                      "type": "string"
      +                    }
      +                  },
      +                  "required": [
      +                    "id",
      +                    "type",
      +                    "name"
      +                  ],
      +                  "type": "object"
      +                }
      +              ]
      +            },
      +            "propertyNames": {
      +              "type": "string"
      +            },
      +            "type": "object"
      +          },
      +          "from": {
      +            "additionalProperties": false,
      +            "properties": {
      +              "id": {
      +                "type": "string"
      +              },
      +              "name": {
      +                "type": "string"
      +              },
      +              "type": {
      +                "type": "string"
      +              }
      +            },
      +            "required": [
      +              "id",
      +              "type",
      +              "name"
      +            ],
      +            "type": "object"
      +          },
      +          "to": {
      +            "additionalProperties": false,
      +            "properties": {
      +              "id": {
      +                "type": "string"
      +              },
      +              "name": {
      +                "type": "string"
      +              },
      +              "type": {
      +                "type": "string"
      +              }
      +            },
      +            "required": [
      +              "id",
      +              "type",
      +              "name"
      +            ],
      +            "type": "object"
      +          },
      +          "via": {
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "from",
      +          "via",
      +          "to",
      +          "attrs"
      +        ],
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "references": {
      +      "items": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "attrs": {
      +            "additionalProperties": {
      +              "anyOf": [
      +                {
      +                  "type": "string"
      +                },
      +                {
      +                  "additionalProperties": false,
      +                  "properties": {
      +                    "id": {
      +                      "type": "string"
      +                    },
      +                    "name": {
      +                      "type": "string"
      +                    },
      +                    "type": {
      +                      "type": "string"
      +                    }
      +                  },
      +                  "required": [
      +                    "id",
      +                    "type",
      +                    "name"
      +                  ],
      +                  "type": "object"
      +                }
      +              ]
      +            },
      +            "propertyNames": {
      +              "type": "string"
      +            },
      +            "type": "object"
      +          },
      +          "from": {
      +            "additionalProperties": false,
      +            "properties": {
      +              "id": {
      +                "type": "string"
      +              },
      +              "name": {
      +                "type": "string"
      +              },
      +              "type": {
      +                "type": "string"
      +              }
      +            },
      +            "required": [
      +              "id",
      +              "type",
      +              "name"
      +            ],
      +            "type": "object"
      +          },
      +          "to": {
      +            "additionalProperties": false,
      +            "properties": {
      +              "id": {
      +                "type": "string"
      +              },
      +              "name": {
      +                "type": "string"
      +              },
      +              "type": {
      +                "type": "string"
      +              }
      +            },
      +            "required": [
      +              "id",
      +              "type",
      +              "name"
      +            ],
      +            "type": "object"
      +          },
      +          "via": {
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "from",
      +          "via",
      +          "to",
      +          "attrs"
      +        ],
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "sections": {
      +      "items": {
      +        "additionalProperties": {},
      +        "properties": {
      +          "heading": {
      +            "type": "string"
      +          },
      +          "tables": {
      +            "items": {
      +              "additionalProperties": {},
      +              "properties": {
      +                "columns": {
      +                  "items": {
      +                    "type": "string"
      +                  },
      +                  "type": "array"
      +                },
      +                "rows": {
      +                  "items": {
      +                    "items": {
      +                      "type": "string"
      +                    },
      +                    "type": "array"
      +                  },
      +                  "type": "array"
      +                }
      +              },
      +              "required": [
      +                "columns",
      +                "rows"
      +              ],
      +              "type": "object"
      +            },
      +            "type": "array"
      +          },
      +          "text": {
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "heading",
      +          "text",
      +          "tables"
      +        ],
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "stamp": {
      +      "additionalProperties": {},
      +      "properties": {
      +        "end": {
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "kind": {
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "start": {
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        }
      +      },
      +      "required": [
      +        "kind",
      +        "start",
      +        "end"
      +      ],
      +      "type": "object"
      +    },
      +    "tagline": {
      +      "type": "string"
      +    },
      +    "type": {
      +      "type": "string"
      +    },
      +    "url": {
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    }
      +  },
      +  "required": [
      +    "id",
      +    "type",
      +    "name",
      +    "tagline",
      +    "owner",
      +    "path",
      +    "url",
      +    "fields",
      +    "sections",
      +    "references",
      +    "referencedBy",
      +    "referenceCounts"
      +  ],
      +  "type": "object"
      +}
    • changedOutput schema / required
      Previous value: -[
      -  "model"
      -]New value: +[
      +  "entity",
      +  "model"
      +]
  3. First observed

TDQS

A4.9/5.0
Behavior5/5

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

No annotations are provided, so the description carries the full burden. It discloses the return value ('entity'), the 50-edge cap per reference list, that referenceCounts gives totals, and that list_references holds the rest. It also mentions refusal behavior for ambiguous names. This is comprehensive for a read operation.

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?

Three concise sentences, front-loaded with purpose, then usage, then behavioral details. No redundant phrasing; every sentence adds value.

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

Completeness5/5

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

With an output schema present, the return format is covered. The description addresses input selection, ambiguity handling, and pagination limits, leaving no critical gaps for a tool of this complexity (3 optional params, no nested objects).

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

Parameters4/5

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

Schema covers id and name descriptions but not type (67% coverage). The description adds the relationship: 'Input: id, or type and name', clarifying that id alone or type+name together are valid. This compensates for the missing type description and adds meaning beyond the schema.

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?

Description states the tool returns one entity as structured data (fields, sections, tables, references both ways), a specific verb and resource. It distinguishes itself from fetch (page as written) and list_references (for more edges), making its scope unambiguous.

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?

Explicitly says 'Use to reason over an entity; for its page as written use fetch', naming the alternative and when to prefer it. Also notes that an ambiguous name is refused with candidate ids, guiding the agent on valid input patterns.

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.

Resources