Skip to main content
Glama

get_entity

Retrieve a refined structured entity and its metadata by entity ID or canonical URL, with optional historical versions for structured AI data queries.

Instructions

Retrieve a refined structured entity and its metadata by entity ID or canonical URL.

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": {
      "entityId": "<entityId>"
    },
    "name": "get_entity"
  }
}

Input Schema

NameRequiredDescriptionDefault
versionNoOptional historical version number
entityIdYesUnique entity identifier

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.8/5.0
Behavior2/5

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

With no annotations, the description carries the full behavioral burden and does not meet it: it says nothing about read-only safety, not-found behavior, permission requirements, or what "metadata" contains. The existence of a historical-version mode is only visible in the schema, not explained.

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?

A single front-loaded sentence with no padding, which is appropriate for a simple read tool. Its brevity is efficient, though it comes at the cost of the missing detail noted elsewhere.

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?

For a two-parameter read with no output schema, the description is minimally adequate — it says what is returned at a high level. It is not complete enough to tell an agent how versioned retrieval differs or what happens on a miss.

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

Parameters2/5

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

Schema coverage is 100%, so the baseline would be 3, but the description actively misleads by claiming lookup by "canonical URL" when the schema exposes only entityId (required) and version. It also ignores the version parameter, which has meaningful historical semantics.

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?

"Retrieve a refined structured entity and its metadata" names a specific verb and resource, and the ID-or-URL framing hints at how the entity is addressed. It is distinguishable from siblings like list_changes or get_diff, though "refined" is unexplained jargon.

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

Usage Guidelines2/5

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

There is no when-to-use guidance, no exclusions, and no mention of the obvious alternatives (search to find an entity, list_versions to discover the version numbers the schema accepts). The agent must infer the lookup workflow entirely.

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