Skip to main content
Glama

files: GET /api/files/:id/view

get_files_by_id_view_3f7dac8522ec2d5e9331d385
Read-onlyIdempotent

GET /api/files/:id/view. GET /api/files/:id/view. Operation ID: 3f7dac8522ec2d5e9331d385; describe_operation provides native request schemas.

Input Schema

NameRequiredDescriptionDefault
queryNo
paramsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false and openWorldHint=false, so the safety profile is covered. The description adds nothing behavioral on top of that — no note about what the view renders, caching, or whether the file must be processed first. It does not contradict the annotations.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness2/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The endpoint path is duplicated verbatim in consecutive sentences, wasting half the description. What remains (operation ID and a pointer to describe_operation) is boilerplate rather than front-loaded substance.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a nested-object tool with zero schema documentation and no output schema, the description must explain the return shape and the query object; it does neither. An agent cannot predict what it will get back or how to shape the query, making this inadequate despite the annotations.

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%, so the description carries the burden and fails: the required path parameter 'id' is only implied by the ':id' token in the URL, and the free-form 'query' object (additionalProperties: {}) is not explained at all. An agent gets no clue what query keys the view endpoint accepts.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose2/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description is essentially the title restated: a raw REST path plus an opaque operation ID. It conveys a GET on a file sub-resource called 'view' but never says what a 'view' is (rendered file, thumbnail, metadata projection) or how it differs from the many sibling file endpoints such as get_files_by_id_ca0c36306681b95abd70b02c or get_files_by_id_links.

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 and no comparison to any of the ~30 sibling 'get_files_*' tools. The only actionable hint is that describe_operation exposes native request schemas, which is a discovery aid, not a selection criterion.

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.

Resources