Skip to main content
Glama

Get entity context

get_entity_context
Read-onlyIdempotent

Follow bounded explicit stored links from an approved board, accessible agent/project or confirmed term, or look up a person by name or email. A person result is the directory card (name, email, title, department). It is not that person's evidence. Text similarity never establishes a dependency.

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_type": "<entity_type>",
      "entity_id": "<entity_id>"
    },
    "name": "get_entity_context"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo
entity_idYes
entity_typeYes

Output Schema

NameRequiredDescriptionDefault
statusYes
messageNo
coverageNo
entitiesNo
request_idNo
retrieved_atNo
relationshipsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / entity_type / enum
      Previous value: -[
      -  "board",
      -  "agent",
      -  "project",
      -  "term"
      -]New value: +[
      +  "board",
      +  "agent",
      +  "project",
      +  "term",
      +  "person"
      +]
  2. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare a read-only, idempotent, closed-world lookup, so the safety profile is covered. The description then adds real behavioral context beyond that: traversal is 'bounded' and limited to 'explicit stored links', and a person result is explicitly the directory card rather than that person's evidence — a distinction an agent would otherwise get wrong.

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?

Short and front-loaded: the traversal behavior comes first, the person special case second, and the guardrails last. Every sentence carries information, though 'Text similarity never establishes a dependency' is abstract phrasing that costs the reader a moment.

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 an output schema present, return values need not be described, yet the description still characterizes the person result shape. For a three-parameter read tool with full annotation coverage, the main residual gap is the unexplained limit parameter and the absence of any note on what happens when no link exists.

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 must carry parameter meaning. It does enumerate the traversable entity kinds and notes that a person can be found 'by name or email', which clarifies that entity_id accepts more than an opaque identifier for that type. However, the limit parameter and the id-versus-name expectation for the other four entity types are left unexplained.

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 gives a specific verb phrase ('follow bounded explicit stored links') plus the resource classes it traverses (board, agent/project, term) and adds a distinct mode for person lookup. An agent can tell what this tool returns for each entity type, though the phrasing is dense and never names the entity_type/entity_id mechanics 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?

Usage is implied rather than spelled out: the tool is for following already-stored, explicit links and for directory lookups of people. The closing caveat ('Text similarity never establishes a dependency') functions as a usage boundary, but no sibling tool is named as an alternative and no when-not-to-use condition is stated.

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.