Skip to main content
Glama

Marchés publics attribués à une entreprise française (DECP)

marches_publics
Read-onlyIdempotent

List the public contracts awarded to ONE French company, from its 9-digit SIREN (or 14-digit SIRET), in the official DECP open data (Données essentielles de la commande publique, consolidated files on data.gouv.fr, Licence Ouverte 2.0) over the last 24 monthly files. Returns synthese (number of distinct contracts, total notified amount in euros, first and last notification date, number of distinct public buyers), parAnnee (contracts and amount per notification year), parSecteurCpv (top 5 CPV divisions with their French label), marchesRecents (up to 10 latest awards: id, buyer SIRET, subject, CPV code, procedure, amount, date, department), source (name, licence, last update date to cite when reusing the data) and avertissements (reading limits), signed with an Ed25519 attestation. Amounts: negative amounts or amounts above 10 billion euros are excluded from the sums (and counted in avertissements). A contract awarded to a group is counted in full for each member identified by SIRET. Only contractors identified by SIRET are covered; foreign contractors are not. A company with no published public contract returns a valid answer with zeros (nombreMarches: 0): it is charged, because 'no public contract published in the last 24 months' is itself the information. The data is self-reported by buyers and incomplete: no contract does not prove no public business. No personal data: for a sole trader (entrepreneur individuel) the subject of the contracts (objet) is never returned. When to use another tool: for the identity, status, insolvency and verdict of the company use verifier_entreprise; if you only know the name, call rechercher_entreprise first. Errors (never charged): an invalid SIREN is rejected before any payment request; if the DECP copy is not loaded yet (first start of the service) the call returns an error and is not settled, retry a few minutes later. Payment: $0.02 per call via x402 (USDC on Base). No account or API key.

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": {
      "siren": "<siren>"
    },
    "name": "marches_publics"
  }
}

Input Schema

NameRequiredDescriptionDefault
sirenYes9-digit SIREN of the company (Luhn-valid); a 14-digit SIRET is also accepted. Spaces, dots and dashes are accepted.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.8/5.0
Behavior5/5

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

Annotations already declare readOnly, idempotent, openWorld and non-destructive, and the description goes well beyond them: $0.02 x402 payment per call, no account or key, negative or over-10-billion amounts excluded from sums, group awards counted in full per SIRET member, foreign contractors uncovered, no personal data for sole traders, and an Ed25519 attestation. The self-reported/incomplete nature of DECP data and the error/retry behavior are also disclosed, which is unusually complete for a paid read tool.

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?

It is front-loaded with purpose, then the return shape, then counting rules, then alternatives, errors and price, so a reader can stop early once oriented. It is long and a few clauses (licence restatement, repeat of the zero-contract case) could be trimmed, but nearly every sentence carries decision-relevant information for a paid call.

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?

There is no output schema, so the description must explain the return payload and it does: synthese, parAnnee, parSecteurCpv, marchesRecents, source and avertissements are each enumerated with their fields. Combined with the billing, error and data-quality caveats, an agent has everything needed to call it and interpret the response.

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

Parameters4/5

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

Schema coverage is 100% for the single SIREN parameter, so the schema already carries the format contract including Luhn validity. The description adds meaning beyond it by stating that a 14-digit SIRET is also accepted and by framing the identifier as company-identifying rather than free text, though it does not restate the space/dot/dash tolerance the schema documents.

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 verb and resource ('List the public contracts awarded to ONE French company') plus the exact data source (DECP) and the scope of the last 24 monthly files. The capitalized 'ONE' plus the SIREN/SIRET input makes it unmistakable which entity is queried, so an agent can separate it from the other company-level siblings without opening any schema.

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

Usage Guidelines5/5

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

It gives explicit routing rules: use verifier_entreprise for identity, status, insolvency and verdict, and rechercher_entreprise first if only the name is known. It also states the notable edge case that a zero-contract company is still charged and that invalid SIRENs and unloaded DECP copies are never settled, which tells the agent exactly when the call is appropriate and when to retry.

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