Skip to main content
Glama

get_entity_relationships

Confirmed map relationships for an entity (incoming/outgoing endpoints).
Label these as Confirmed — not evidence-only mentions.
entity_id: from search_entities / get_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_id": "<entity_id>"
    },
    "name": "get_entity_relationships"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo
entity_idYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior3/5

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

With no annotations, the description must carry the full load; it does disclose a meaningful behavioral trait — that returned relationships are confirmed mappings rather than unverified mentions, and that both incoming and outgoing edges appear. It omits that the operation is read-only, how the default limit of 100 affects results, and whether truncation occurs.

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?

Three short lines, front-loaded with the core purpose and followed by the classification caveat and the identifier source. No filler, though the fragmentary phrasing ('entity_id: from search_entities / get_entity.') reads like notes rather than prose.

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 need not be explained, and the identifier provenance is covered. However, for a tool with zero annotation coverage, missing statements about read-only behavior and the limit parameter's effect leave gaps an agent must guess at.

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 0%, so the description should compensate. It does explain where entity_id comes from, adding real meaning beyond the bare string type, but the limit parameter (default 100) is never mentioned, leaving half the parameters undocumented in both schema and description.

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?

States a specific verb+resource: retrieves confirmed map relationships for an entity, including incoming/outgoing endpoints. It also implicitly distinguishes itself from evidence-only tools by contrasting 'Confirmed' with 'evidence-only mentions', though it never names get_entity_evidence directly.

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?

Gives a useful prerequisite for entity_id (obtain it from search_entities or get_entity), but offers no explicit when-to-use vs when-not guidance relative to siblings such as get_entity_evidence or get_relationship_summary. The 'label as Confirmed' line is output-handling instruction rather than tool selection guidance.

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.