Skip to main content
Glama

Prometiam Risk Intelligence

Get buyer-supplier dependency

procurement_relationship
Read-only

How dependent a public buyer and one of its five largest suppliers are on each other (Spain, France or Romania, BETA): awards, awarded value, the supplier's share of the buyer's awarded value, first/last award, single-bid awards, average bids, and the supplier's insolvency date when it failed. Only the five largest relationships per buyer are held; a supplier outside them returns 404 — use procurement_awards for its full award list (Spain).

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "buyer": "<buyer>",
      "supplier": "<supplier>"
    },
    "name": "procurement_relationship"
  }
}

Input Schema

NameRequiredDescriptionDefault
buyerYesNational identifier of the contracting body (DIR3/NIF for Spain, SIRET for France, CUI for Romania).
countryNoDefaults to ES.
supplierYesSupplier tax id (NIF for Spain, SIREN for France, CUI for Romania).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • changedInput schema / properties / buyer / description
      Previous value: -"National identifier of the contracting body (DIR3/NIF for Spain, SIRET for France)."New value: +"National identifier of the contracting body (DIR3/NIF for Spain, SIRET for France, CUI for Romania)."
    • changedInput schema / properties / country / enum
      Previous value: -[
      -  "ES",
      -  "FR"
      -]New value: +[
      +  "ES",
      +  "FR",
      +  "RO"
      +]
    • changedInput schema / properties / supplier / description
      Previous value: -"Supplier tax id (NIF for Spain, SIREN for France)."New value: +"Supplier tax id (NIF for Spain, SIREN for France, CUI for Romania)."
  2. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, so safety is covered; the description adds genuine context beyond them — the top-five data limitation, the 404 failure mode, the three-country coverage, and BETA status. It does not mention rate limits or response shape, but for a read-only lookup the disclosed coverage and error behavior are the operationally important traits.

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?

A single dense paragraph that front-loads the dependency concept, then the returned measures, then the coverage caveat and fallback — a sensible order with no filler sentences. The middle enumeration of measures is long but earns its place because there is no output schema to document the return values.

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 compensates by listing the returned fields, and it covers the main edge case (404 outside the top five) plus country scope and BETA status. What remains thin is whether buyer and supplier identifiers must match the selected country, but for a two-key read-only lookup this is close to complete.

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%, with each parameter documented including the identifier formats (DIR3/NIF, SIRET, CUI) and the ES default, so the schema carries the load. The description adds only that the buyer must be a public body and the supplier one of its five largest, which constrains valid inputs but adds no format or syntax detail beyond the schema.

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?

The description opens with a specific concept — mutual dependency between a public buyer and one of its five largest suppliers — and enumerates the exact measures returned (awarded value, supplier share, single-bid awards, average bids, insolvency date). It also scopes the geography (Spain, France, Romania) and flags BETA, so an agent can distinguish it from procurement_awards without inspecting either 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?

It gives an explicit usage boundary: only the five largest relationships per buyer are held, and a supplier outside that set returns 404, in which case the agent should use procurement_awards for the full award list. That is a clear when-not plus a named alternative, though the fallback is scoped to Spain only and no guidance is given on when to prefer procurement_buyer or company_detail instead.

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