Skip to main content
Glama
marches-publics

marches-publics

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
MCP_MP_TED_URLNoOverride the TED search endpoint. Default is https://api.ted.europa.eu/v3/notices/search.https://api.ted.europa.eu/v3/notices/search
MCP_MP_DECP_URLNoOverride the DECP Opendatasoft records endpoint. Defaults to the DECP Opendatasoft records endpoint.
MCP_MP_BOAMP_URLNoOverride the BOAMP Opendatasoft records endpoint (mirror, tests). Defaults to the BOAMP Opendatasoft records endpoint.
MCP_MP_LOG_LEVELNoLog level (JSON lines on stderr; stdout is the protocol). Default is INFO.INFO
MCP_MP_ENTREPRISES_URLNoOverride the Recherche d'entreprises endpoint. Default is https://recherche-entreprises.api.gouv.fr/search.https://recherche-entreprises.api.gouv.fr/search

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

Open public-procurement data: France (BOAMP notices, DECP awarded contracts) and EU (TED).

Which tool for which question

  • Open or past tenders/notices in France -> search_boamp_notices, then get_boamp_notice(id).

  • Who won which French contract, for how much, and rankings of top buyers or suppliers -> search_decp_awards (list) or rank_decp_parties (aggregate "who buys/wins the most").

  • Tenders or notices published EU-wide or abroad -> search_ted_notices, then get_ted_notice.

  • A SIRET/SIREN -> company name: lookup_company.

  • Words -> CPV codes (e.g. "cleaning", "travaux de voirie"): search_cpv_codes. Do not use TED for French-only questions (BOAMP is fresher and filters by department). DECP only lists awarded contracts, never open tenders.

Conventions

  • Dates are ISO (YYYY-MM-DD). CPV codes are digits; an optional check digit ("90910000-9") is ignored. A 2-7 digit prefix covers the whole branch (72 = all IT services) on BOAMP and DECP; on BOAMP an 8-digit code matches that exact code only. TED matches an 8-digit code and its sub-codes (hierarchical); a prefix is padded to its branch code (7221 -> 72210000). Unsure of the code? search_cpv_codes("nettoyage").

  • Lists are paginated: pass the next_offset of a result as offset (TED: pass next_page as page). Default limit is 10, maximum 50. Prefer narrowing filters over paging through many pages.

  • DECP carries only SIRET identifiers; buyer and supplier names are resolved automatically through the public company directory (a name may be null when unknown).

  • Results are open data and may lag the source by days; they are not legal advice.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}

Tools

Functions exposed to the LLM to take actions

NameDescription
search_boamp_noticesA

Search French public procurement notices (BOAMP), newest first.

Use for: open calls for tenders and published notices in France, filtered by topic, CPV code, region/department, buyer or date. Example: open IT-services tenders in Occitanie -> cpv="72", region="Occitanie", open_only=true, notice_kind="tender". Do NOT use for: contract amounts or winners over time or rankings (use search_decp_awards / rank_decp_parties), nor for notices outside France (use search_ted_notices). Returns a compact list; call get_boamp_notice with an id for the full notice. Caution: the region/department filter matches the notice's diffusion departments (code_departement, multivalued), not the place of performance: about 15% of October 2026 Occitanie tenders also list departments outside Occitanie.

get_boamp_noticeA

Get the compact detail of one BOAMP notice: description, CPV, lots, value, winners.

Use after search_boamp_notices when the user wants more on a specific notice. Do NOT guess ids, and do not use for TED notices (get_ted_notice).

search_decp_awardsA

List awarded French public contracts (DECP) with amount, buyer and supplier.

Use for: "which contracts were awarded for X", biggest contracts (order_by="amount"), what a given buyer or supplier signed. Names are resolved from SIRET automatically. Do NOT use for open tenders (search_boamp_notices), for "top N buyers/suppliers" (rank_decp_parties does the aggregation upstream), or for EU data (search_ted_notices). Amounts are as notified; framework agreements show their maximum.

rank_decp_partiesA

Rank the top buyers or suppliers of French awarded contracts (DECP).

Use for: "who are the main suppliers of IT services in Occitanie in 2025", "which buyers spend most on cleaning". Aggregated upstream over all matching contracts, not only a page. Example: by="supplier", order="amount", cpv_prefix="72", department="31". Do NOT use to list individual contracts (search_decp_awards). Read caveats: DECP coverage is incomplete and amounts are notified values, not payments.

search_ted_noticesA

Search EU-wide public procurement notices on TED (Tenders Electronic Daily).

Use for: tenders in other EU countries or cross-border, or above-threshold French contracts seen from the EU side. Example: cpv="72" (or "72000000"), countries=["DEU","AUT"], open_only=true. Do NOT use for France-only searches by department/region (use search_boamp_notices) or for award amounts/rankings in France (DECP tools). Pagination is by page: pass the result's next_page as page (null = no more pages); next_offset is informational only. Call get_ted_notice with a publication_number.

get_ted_noticeA

Get the compact detail of one TED notice: description, value, procedure, winners.

Use after search_ted_notices. Do NOT use for BOAMP ids (get_boamp_notice).

lookup_companyA

Resolve a French SIRET or SIREN to the company name (public company directory).

Use when a DECP/BOAMP result shows only an identifier. Do NOT use to search by name or to get financial data. DECP tools already resolve names; this is for ad-hoc checks.

search_cpv_codesA

Find CPV 2008 codes whose label matches the words (official EU nomenclature, offline).

Use before a search when the user names an activity instead of a code. Shorter codes (e.g. 90910000) are broader; pass their significant digits as a prefix ("9091") to the search tools. Do NOT use to find notices: use the search_* tools with the code found.

Prompts

Interactive templates invoked by user choice

NameDescription
veille_marchesMonitoring workflow: open tenders for a CPV code in a region, then context.

Resources

Contextual data attached and managed by the client

NameDescription
regionsFrench regions mapped to their department codes (and names).
sourcesData sources, licences and freshness caveats.

TDQS

A4.5/5.0

Scored across 8 tools

Disambiguation5/5

Each tool has a distinct resource+action target, and the descriptions include explicit 'Use for' / 'Do NOT use for' routing hints that resolve the few potential overlaps (BOAMP vs TED by geography, DECP listing vs DECP aggregation). The search/get pairings per source are cleanly separated, and cross-references even tell the agent which sibling tool to use instead.

Naming Consistency5/5

All names are snake_case verb_noun with a predictable pattern: search_<source>, get_<source>, rank_<entity>, lookup_<entity>. Verb choice varies (search/get/rank/lookup) but is semantically consistent and always paired with the noun it operates on, making the tool's source and action readable at a glance.

Tool Count5/5

Eight tools is well within the ideal band and each one earns its place: two sources of tenders, their detail lookups, award search plus aggregation, and two small helper utilities. Nothing appears redundant or padded.

Completeness4/5

The surface covers the core lifecycle well — find tenders (BOAMP/TED), inspect a notice, find and rank awards, resolve identifiers, and map activity names to CPV codes. The main gap is the reverse identifier path: lookup_company only resolves SIRET/SIREN to a name, so an agent asked to 'find company X' has no name-to-SIRET tool, and there is no standalone DECP contract detail lookup beyond the search listing.

Maintenance

ActivityMaintained
ResponsivenessNo recent community issues