Skip to main content
Glama

Fr Decp Get Contract

fr_decp_get_contract
Read-onlyIdempotent

Fetch a single French public-contract award (DECP) by its unique record id (uid), as returned by fr_decp_search_contracts. Returns the full award record: buyer, supplier SIRET, amount, dates, CPV, procedure, duration, and geography for both parties.

Example tool call

This call uses example arguments supplied in the tool’s input schema.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "uid": "217500016000192026F10374_32300000"
    },
    "name": "fr_decp_get_contract"
  }
}

Input Schema

NameRequiredDescriptionDefault
uidYesThe DECP record uid from a fr_decp_search_contracts result, e.g. "217500016000192026F10374_32300000".

Output Schema

NameRequiredDescriptionDefault
sourceNo
contractNo
data_as_ofNoThe publisher's date for the file, never today's date; null with data_as_of_note when unreadable.
answered_fromNo
data_as_of_noteNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • addedOutput schema / properties / answered_from
      Added value: +{
      +  "type": "string"
      +}
    • addedOutput schema / properties / data_as_of / description
      Added value: +"The publisher's date for the file, never today's date; null with data_as_of_note when unreadable."
    • changedOutput schema / properties / data_as_of / type
      Previous value: -"string"New value: +[
      +  "string",
      +  "null"
      +]
    • addedOutput schema / properties / data_as_of_note
      Added value: +{
      +  "type": "string"
      +}
  2. First observed

TDQS

A4.3/5.0
Behavior4/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=true, so safety behavior is covered. The description adds useful substance by summarizing the payload an agent will receive (buyer, supplier SIRET, amount, dates, CPV, procedure, duration, geography), which helps the agent know this is a full-record retrieval rather than a summary.

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

Conciseness5/5

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

Two tight sentences: the first identifies the operation and key, the second summarizes the return payload. Nothing is redundant or buried.

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

Completeness5/5

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

For a one-parameter read tool with rich annotations and an output schema, this description is sufficient. It names the source of the uid, states the retrieval semantics, and previews the returned fields, leaving no material gap for correct invocation.

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 required parameter, already documented with an example in the schema. The description only reinforces that the uid comes from fr_decp_search_contracts results, adding marginal meaning beyond what the schema provides, so baseline 3 applies.

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 ('Fetch a single French public-contract award (DECP)') plus the key ('by its unique record id'), and explicitly ties the uid to the sibling fr_decp_search_contracts, so the agent can distinguish it from search_contracts and contract_stats without opening a schema.

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?

The description makes the intended flow clear: this is the follow-up to fr_decp_search_contracts, using a uid from that result set. It does not state exclusions (e.g., don't use for searching or bulk retrieval), but the sibling reference gives strong routing context.

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.