Skip to main content
Glama

Page d'un marché

get_marche
Read-onlyIdempotent

Un marché public : objet, acheteur, titulaires et leur procédure collective au BODACC, montant et son type, offres reçues et la médiane des offres des marchés de son métier dans son département, avenants un par un, sous-traitants déclarés, conditions du marché (forme et type de prix, avance, volets social et environnemental), fin estimée et sa méthode de calcul, nouvel appel d'offres publié, chronologie, cycle de vie au BOAMP et provenance. Pour une concession : sa valeur globale déclarée et ses avenants, jamais additionnées aux montants des marchés, sa subvention publique, ses dates de signature et de début d'exécution, et sa fin estimée depuis son début. 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": {
      "uid": "<uid>"
    },
    "name": "get_marche"
  }
}

Input Schema

NameRequiredDescriptionDefault
uidYesL'identifiant du marché, tel qu'il figure dans l'adresse /marche/

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive and closed-world, so the safety profile is covered. The description adds substantive data semantics beyond that: every response carries `url`, `data_date`, sources and licence, figures must be cited with that address and date, and concession values are never to be added to marché amounts. That is genuine behavioral context an agent would otherwise get wrong.

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

Conciseness3/5

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

The content is front-loaded and each clause carries information, but the two long enumerated sentences read as a field dump, and the marché/concession split could be structured far more cleanly. Because there is no output schema, the enumeration is doing necessary work, which keeps it from scoring lower.

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 must carry the return-value burden and largely does, covering both record types, the metadata envelope and the citation rule. It omits what happens for an unknown or ambiguous `uid` and says nothing about response size or pagination of the sub-collections (avenants, sous-traitants).

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 coverage is 100% for the single `uid` parameter, and the description adds no format, syntax or lookup guidance beyond what the schema already says ('l'identifiant du marché, tel qu'il figure dans l'adresse /marche/'). With one fully documented parameter, the baseline of 3 applies.

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

Purpose4/5

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

The description makes clear that this returns the full page for a single marché (object, buyer, holders, amount, amendments, subcontractors, timeline), and it explicitly separates the marché case from the concession case, which is a real scope distinction. It never names the retrieval verb nor distinguishes itself from siblings such as get_avis or get_acheteur, so an agent must infer the boundary from the resource type alone.

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 statement of when to call this versus get_avis (the tender notice), get_acheteur (the buyer) or get_entreprise (the company), even though those siblings obviously overlap on the entities listed here. The only directive is about citation and about not summing amounts across types, which is output handling, 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