Skip to main content
Glama

get_entity

Fetch one Confirmed map entity (description, aliases, custom_attributes).
Optionally include relationships / related entity stubs.
entity_id: from search_entities.

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_id": "<entity_id>"
    },
    "name": "get_entity"
  }
}

Input Schema

NameRequiredDescriptionDefault
entity_idYes
include_relationshipsNo
include_related_entitiesNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior3/5

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

With no annotations, the description carries the burden and does disclose that only Confirmed entities are returned and which optional payloads can be included. It says nothing about behavior when the id is unknown, whether unconfirmed entities error or return empty, or any permission requirements.

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 short lines, front-loaded with the core purpose, then optional payloads, then parameter sourcing. No filler or repetition of the schema.

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

Completeness3/5

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

An output schema exists, so return values needn't be explained, and the description covers the main payload and the optional expansions. It is still thin on edge-case behavior (missing id, non-Confirmed entity) that an agent fetching a single record would want.

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 description coverage is 0%, so the description must compensate, and it does: it identifies where entity_id comes from and explains that the two booleans control inclusion of relationships and related entity stubs. It does not clarify the distinction between include_relationships and include_related_entities beyond the names, leaving some ambiguity between the two flags.

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

Purpose4/5

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

The description states a specific verb and resource ("Fetch one Confirmed map entity") and enumerates the returned content (description, aliases, custom_attributes), which distinguishes it from siblings like search_entities or get_entity_evidence. It stops short of explicitly contrasting itself with those siblings.

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

Usage Guidelines3/5

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

The line "entity_id: from search_entities" implies the intended workflow (search first, then fetch by id), which is useful contextual guidance. However, there is no statement of when not to use it or when batch_get_entities or get_entity_relationships would be preferable.

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.