Skip to main content
Glama

henosis

get_document

Read-only

Retrieve one declared document for an entity: its metadata plus either a URL (url-shaped bindings) or base64-encoded bytes with a decoded byte length (file-shaped bindings).

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>",
      "document": "<document>"
    },
    "name": "get_document"
  }
}

Input Schema

NameRequiredDescriptionDefault
typeNo
documentYes
entity_idYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.2/5.0
Behavior3/5

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

readOnlyHint=true already tells the agent this is a safe read, so the description's job is to add context. It does add useful conditional behavior: the payload is a URL for url-shaped bindings versus base64 bytes with a byte length for file-shaped bindings, which matters for downstream handling. However, 'declared' and 'binding' terminology is left unexplained, and nothing is said about failure behavior when a document is absent or not declared.

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 filler, leading with the verb and resource before branching into the two return shapes. Minor deduction because the parenthetical binding jargon is dense without being clarifying.

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 the return structure need not be re-explained, and the annotation covers the safety profile. Still, for a three-parameter tool with 0% schema coverage, the unexplained 'type' parameter and the absence of any guidance on missing or undeclared documents leaves real gaps.

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 description coverage is 0% across three parameters, so the description must carry the meaning burden and largely does not. It implies entity_id and document through the phrase 'for an entity', but the nullable 'type' parameter (default null) is never mentioned, leaving an agent unable to tell what it selects or whether it is a document-type discriminator.

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 and resource: retrieve one declared document for an entity, with the return being metadata plus a URL or base64 bytes. The singular 'one declared document' distinguishes it from a hypothetical list/search of documents, though it never names a sibling tool. An agent can tell this returns a single document attached to an entity rather than entity data itself.

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 only implied by the required entity_id plus document pair; there is no explicit statement about when to choose this over get_entity or other retrieval tools, and no prerequisites or exclusions. The 'declared document' phrasing mildly signals a lookup of a pre-declared attachment, but an agent must infer the rest.

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.