Skip to main content
Glama

socs.fr, la commande publique française

Les acheteurs publics d'un territoire

acheteurs_publics
Read-onlyIdempotent

Liste les collectivités, hôpitaux et établissements publics qui ont réellement attribué des marchés sur un département, avec leur nombre de marchés, leur budget médian et leur dernière commande. À appeler quand la question porte sur « à qui vendre » ou « qui achète » quelque part. Le département s'écrit en code (35) ou en toutes lettres (Ille-et-Vilaine).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limiteNo
secteurNoSecteur d'achat, en code CPV à deux chiffres ou en toutes lettres : « 45 », « travaux de construction »
departementYesDépartement, en code ou en toutes lettres : « 35 », « Ille-et-Vilaine »

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already establish that the tool is read-only, idempotent, and non-destructive. The description adds useful behavioral context by clarifying that only actually awarded contracts are included ('réellement attribué') and by revealing the nature of the returned data (count, median budget, last order).

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?

Three short sentences cover purpose, output, usage context, and the required input format. There is no filler, and the main scoping information is front-loaded.

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?

Because there is no output schema, the description usefully names the returned aggregates so an agent knows what to expect. It covers the key use case and required parameter format; the only gaps are the optional 'limite' and 'secteur' behaviors, which are partly inferable from the schema.

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

Parameters2/5

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

Schema coverage is 67%: 'departement' and 'secteur' are documented, but 'limite' is not. The description's only parameter-related sentence repeats the schema's exact 'departement' format ('35', 'Ille-et-Vilaine') and adds no new meaning about 'limite' or 'secteur'.

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 uses a specific verb ('Liste') and identifies the exact resource: collectivités, hôpitaux and établissements publics that actually awarded contracts in a department. It also states the returned metrics (number of contracts, median budget, last order), which makes the tool's purpose concrete. The use-case phrasing 'à qui vendre / qui achète' distinguishes it from the sibling tools about sector statistics, open consultations, and company-specific contracts.

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 gives an explicit trigger: use this tool when the question is about 'à qui vendre' or 'qui achète' in a territory. It does not name alternative tools or state when not to use it, so it falls short of a full exclusion guide.

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