Skip to main content
Glama

Get the public contracts a French company won

get_public_contracts
Read-only

Public contracts a French company won (DECP, French public procurement data): their count, the summed maximum amounts (leaving out amounts the source flags as suspect or aberrant, given apart), first and latest notification, then the contracts newest first, 20 per page, with buyer, object, maximum amount, CPV code, procedure, duration and place; plus the company's name, whether it is active and whether an insolvency proceeding is ongoing. Amounts are ceilings declared by buyers (maximum estimated, excl. VAT), not spend or revenue; the count is approximate (computed by the source: a contract held by two establishments counts twice, and a holder whose identifier merely contains the SIREN may be included). Narrow with from and to (notification dates).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
toNoNotified on or before, YYYY-MM-DD
fromNoNotified on or after, YYYY-MM-DD
pageNoPage of 20 contracts, from 1
sirenYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.4/5.0
Behavior5/5

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

Annotations only cover readOnly/openWorld, but the description adds substantial behavioral context beyond them: the count is approximate and why (double-counting establishments, SIREN substring matches), suspect/aberrant amounts are excluded, amounts are buyer-declared ceilings excl. VAT and not spend/revenue, and page size is fixed at 20. These are exactly the caveats an agent needs to interpret results.

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?

Dense but front-loaded: the primary noun phrase and returned fields lead, caveats follow. It is long and runs as a single block with semicolons rather than scannable structure, but nearly every clause carries informational weight.

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?

With no output schema, the description carries the full return-value burden and does so thoroughly: itemized fields, pagination order, and the company status fields (active, insolvency proceeding). Nothing essential for correct invocation or interpretation is missing.

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 description coverage is 75%, already documenting from/to ('Notified on or before/after') and page ('Page of 20 contracts'). The description largely restates those (notification dates, 20 per page) and adds nothing about the undocumented siren parameter, so it sits at the schema-driven baseline.

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?

States a precise verb+resource: returns public contracts a French company won, sourced from DECP procurement data, with a concrete enumeration of what comes back (count, summed max amounts, first/latest notification, paginated contract list). An agent can distinguish this from get_company or get_establishment 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 Guidelines4/5

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

Gives clear selection context (this is the DECP public-procurement view rather than general company data) and an explicit narrowing instruction: 'Narrow with from and to (notification dates).' It does not, however, name a sibling alternative or state when NOT to use it, so it stops short of full routing guidance.

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