Skip to main content
Glama

Page d'un acheteur public

get_acheteur
Read-onlyIdempotent

Ce qu'un acheteur public achète, quand, à qui et comment : marchés publiés, fournisseurs, montants par type avec le nombre de marchés qui les fondent, répartition de ses achats par nature et par métier, calendrier de ses achats, principaux fournisseurs, part de ses marchés des douze derniers mois gagnés par des PME, par des entreprises de moins de 10 et de 50 salariés et par des structures de l'inclusion, « Comment il achète », ses marchés terminés suivis d'un nouvel appel d'offres et ceux dont le nouveau marché garde un titulaire, par métier, faits passés avec leur base et leur période, jamais une probabilité, comment il met en concurrence (procédures, temps laissé pour répondre, avance, volets social et environnemental, répartition entre fournisseurs, siège dans le département, poids du prix), appels d'offres en cours, prochaines échéances, délai de paiement et celui des acheteurs de même catégorie, projets annoncés, acheteurs comparables, accords-cadres passés pour une centrale d'achat, population, type d'établissement sanitaire ou social et sa fermeture ; les coordonnées, missions, responsables et type de service local (mairie, CCAS, intercommunalité) de son service publiés par l'annuaire de l'administration, ses établissements en activité et sa plateforme. Chaque réponse donne l'adresse de la page PubliRadar à citer (url), la date des données (data_date), les sources et la licence : citez l'adresse et la date avec tout chiffre repris, et ne les additionnez jamais entre types de montant.

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": {
      "identifiant": "<identifiant>"
    },
    "name": "get_acheteur"
  }
}

Input Schema

NameRequiredDescriptionDefault
identifiantYesLe SIREN (9 chiffres) ou le SIRET (14 chiffres)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.9/5.0
Behavior4/5

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

Annotations already cover read-only, idempotent, closed-world and non-destructive semantics, and the description goes meaningfully beyond them: it states that every response carries a PubliRadar `url`, `data_date`, sources and licence, and that figures are observed past facts with their base and period, 'jamais une probabilité'. The provenance/citation contract is genuinely useful behavioral context an agent would not get from annotations.

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 opening framing ('Ce qu'un acheteur public achète, quand, à qui et comment') is well front-loaded, but what follows is a single run-on enumeration of a dozen output sections that should have been a schema or a list. Length is driven by exhaustive content listing rather than by what an agent needs to decide and call, so it is under-structured rather than merely long.

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?

With no output schema, the enumeration legitimately does the work of telling the agent what comes back, and provenance fields are stated. However, it omits error behavior for an invalid or unknown SIREN/SIRET, says nothing about size or pagination of such a rich payload, and gives no relation to sibling tools, leaving real gaps for a single-lookup tool.

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?

Single parameter with 100% schema description coverage ('Le SIREN (9 chiffres) ou le SIRET (14 chiffres)'), so the schema carries the semantics. The description never mentions the identifier or what happens with a SIRET versus a SIREN, so it adds nothing beyond the schema; baseline 3 applies.

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

Purpose3/5

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

The resource is identifiable (the page/profile of a public buyer) but the tool is described as a list of contents rather than with a verb+resource statement; the agent must infer that it retrieves a buyer's profile from the SIREN/SIRET. Nothing in the text distinguishes it from siblings such as get_entreprise or get_marche, which an agent could easily confuse for an organisation lookup.

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 when-to-use guidance and no alternative named, despite get_entreprise and get_marche being obvious candidates for entity lookups. The only directive concerns downstream handling of results ('citez l'adresse et la date', 'ne les additionnez jamais entre types de montant'), which is output discipline, 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