Skip to main content
Glama

get_content

Read an uploaded document's digest, lengths, and optional body text, enabling channel members to verify the upload.

Instructions

Read back an uploaded document: its digest, lengths and (with with_body=true) its text. Anyone in the channel may verify an upload — that is the point of publishing the number.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
upload_idYes
with_bodyNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.8/5.0
Behavior4/5

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

With no annotations, the description carries the full burden, and it does disclose the access model (open to anyone in the channel) plus the conditional return of the body text. It omits side effects, rate limits, and whether the digest computation is costly, but for a read-back tool this is solid contextual disclosure.

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?

Two tight sentences, front-loaded with the core action and its return payload. No filler.

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?

An output schema exists, so return values needn't be explained, and the description covers the action, the optional body fetch, and the access model. Adequate for a two-param read tool; only cross-sibling routing is missing.

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 compensate. It explains with_body=true clearly, but adds nothing about upload_id beyond its name being self-evident; the compensation is partial rather than complete.

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?

Specific verb+resource ('Read back an uploaded document') with the returned fields named (digest, lengths, text). It clearly pairs with the upload/seal siblings conceptually, but never names an alternative tool, so differentiation is inferred rather than stated.

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?

It gives a conditional usage cue ('with with_body=true' for text) and an access cue ('Anyone in the channel may verify'), which implies verification use. However, it never states when to prefer this over seal_content or upload_content, so the routing guidance is only implied.

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