Skip to main content
Glama

Get batching record

safefood360_get_batching_record
Read-only

One batching (traceability) record by its id (GUID). GET /batching/sites/{siteId}/v1/batching/records/{recordId}.

Input Schema

NameRequiredDescriptionDefault
record_idYesBatching record id (GUID).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false, and openWorldHint=true, so the safety profile is covered. The description adds the underlying REST path, but that path references a {siteId} segment that is not an input parameter, which raises a question about scoping rather than resolving one. Nothing is said about return shape, not-found behavior, or permissions.

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 short sentences with no padding, and the purpose is front-loaded. The trailing endpoint path is of marginal utility to an agent and introduces the unexplained siteId, but it is brief enough not to be wasteful.

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?

There is no output schema, so the description is the only place a caller could learn anything about the returned record, and it says nothing about fields or structure. For a simple read-by-id with full annotation coverage this is passable, but the dangling siteId in the path leaves the addressing model ambiguous.

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 the single parameter is documented with its GUID pattern, so the schema carries the semantics. The description only restates that lookup is by id in GUID form, adding no format or validation detail beyond the schema.

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 resource ('one batching (traceability) record') and a specific retrieval key ('by its id (GUID)'), so the agent knows exactly what comes back. It does not explicitly contrast with siblings, but the get_* pattern and the singular-record framing separate it from list-style tools.

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 implied by the id-based fetch framing: use when you already have a record GUID. There is no statement of when not to use it, no alternative tool named, and no note on prerequisites or what to do if the id is unknown.

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.