Skip to main content
Glama

negotiation: GET /api/negotiation/documents/:documentId/latest

get_negotiation_documents_by_documentId_4d65afc7e81f80ab712b1e48
Read-onlyIdempotent

GET /api/negotiation/documents/:documentId/latest. GET /api/negotiation/documents/:documentId/latest. Operation ID: 4d65afc7e81f80ab712b1e48; 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 elsewhere. The description adds nothing beyond that: it doesn't clarify what 'latest' means (latest version, latest redline, latest draft), nor the shape or size of the response.

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 same route string is repeated verbatim in the first two sentences, which is pure waste, and the operation-ID boilerplate is not front-loaded information an agent needs. No sentence explains the tool's behavior.

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?

With no output schema, the description must convey what is returned, and it does not—an agent cannot tell whether it gets a document body, metadata, or a URL. For a nested-parameter GET with zero schema coverage, the definition is under-specified.

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% and the description does not compensate. The path template hints that documentId is a path identifier, but there is no explanation of the free-form 'query' object or what a valid documentId looks like, leaving both parameters largely undocumented.

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 only restates the raw route 'GET /api/negotiation/documents/:documentId/latest' twice, which is essentially a tautology of the title. The path implies retrieving the latest document for a negotiation, but no plain-language verb+resource statement distinguishes it from siblings like get_negotiation_versions_by_id or get_negotiation_by_entity_by_id_current.

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 guidance on when to use this versus the many negotiation-version siblings, nor any prerequisites. The only actionable pointer is 'describe_operation provides native request schemas', which is about schema discovery, not tool selection.

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