Skip to main content
Glama

Diavgis — Greek Public Procurement

Get Procurement Lifecycle Chain

get_chain
Read-onlyIdempotent

A reconstructed procurement lifecycle chain by chain_id: the linked sequence of related acts (e.g. commitment → award → contract → payments) with confidence and link method. Get a chain_id from the chain_id field of any act. A chain is ONE procurement's lifecycle, not everything an act references: an administrative umbrella cited by more than 25 acts (e.g. one annual expense-approval decision referenced by thousands of a buyer's acts) is deliberately NOT merged, so a chain never swallows a year of unrelated activity. Those references are still published — see the act's own references — they simply do not form a chain.

Input Schema

NameRequiredDescriptionDefault
chain_idYes

Output Schema

NameRequiredDescriptionDefault
membersYes
chain_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive and closed-world, so safety is covered. The description adds genuinely non-obvious behavior: umbrella acts cited by more than 25 acts are deliberately not merged, so chains never absorb unrelated yearly activity. It does not discuss size limits, ordering guarantees, or what happens when a chain is incomplete, though an output schema exists to carry return shape.

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?

Front-loaded: what the tool returns comes first, then how to get the input, then the scoping caveat. The umbrella-explanation passage is somewhat long and restates the same point twice ('deliberately NOT merged' and 'they simply do not form a chain'), which is the only redundancy.

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 a single required parameter, an output schema, and rich annotations, the description supplies the missing conceptual context: what a chain is, what it is not, and where excluded references live instead. Only edge cases (empty or partial chains, invalid chain_id behavior) are unaddressed.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 0% and the schema gives only a bare string type, so the description must carry the meaning. It does: chain_id is a lifecycle-chain identifier obtained from the chain_id field of any act, which tells the agent how to source a valid value rather than guessing.

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

Purpose5/5

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

States a specific verb and resource (reconstruct a procurement lifecycle chain by chain_id) and defines the resource precisely as the linked sequence of related acts with confidence and link method. This clearly differentiates it from the sibling get_act, which returns a single act rather than a linked sequence.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicitly tells the agent how to obtain the required input ('Get a chain_id from the chain_id field of any act') and clarifies the scope boundary of a chain. It implies get_act is the right tool for individual acts and their raw references, but never names an alternative or an explicit 'do not use this when' condition.

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.