Skip to main content
Glama

Get document

safefood360_get_document
Read-only

One controlled document by its identifier: title, description, version, folder, responsible person and workflow. GET /documents/sites/{siteId}/v1/documents/{identifier}.

Input Schema

NameRequiredDescriptionDefault
identifierYesDocument identifier (as shown in Safefood 360).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false, openWorldHint=true, so the safety profile is covered. The description adds the returned field set and the underlying endpoint, but says nothing about behavior on an unknown identifier (error vs. empty result), permissions, or the siteId scoping that the endpoint path implies but the input schema does not expose.

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?

Two compact sentences with the payload description front-loaded and the endpoint appended as supporting detail. No filler, though the raw endpoint path is of marginal value to an agent that cannot control the site context.

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 no output schema, the description correctly compensates by naming the fields returned (title, description, version, folder, responsible person, workflow). It is thin on failure modes and on the unspecified siteId, but is sufficient for a single-parameter read.

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 100% and there is only one parameter, so the schema already fully documents 'identifier' as shown in Safefood 360. The description adds nothing beyond 'by its identifier' and notably does not clarify where siteId comes from given the endpoint requires it.

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 a single controlled document by its identifier, and enumerates the fields returned. The phrase 'One controlled document' implicitly contrasts with the sibling safefood360_list_documents, though no sibling is named explicitly.

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: an agent can infer this is the fetch-by-id counterpart to list_documents, and that a valid identifier from that listing is required. No explicit when-to-use/when-not, no mention of safefood360_get_document_review or safefood360_update_document as adjacent operations.

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.