Skip to main content
Glama
Soumit MCP Server
by vext-ma

check_regulatory_compliance

Checks financial offer compliance with Decree 2-22-431 by flagging abnormally low or excessive bids and verifying tender display deadlines.

Instructions

Calculer la conformité d'une offre financière avec le Décret n° 2-22-431 : détection d'offre anormalement basse ou excessive (Articles 44 & 45), et vérification des délais d'affichage (Article 23).

Input Schema

NameRequiredDescriptionDefault
tender_idNoIdentifiant du marché ou référence.
sector_typeNoNature de la prestation pour appliquer le bon corridor légal (ex: -20% travaux vs -25% fournitures/services).
proposed_amount_htYesMontant de l'offre proposée par le soumissionnaire en Dirhams HT.
estimated_amount_htYesEstimation administrative du marché en Dirhams HT.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.3.0

TDQS

A3.5/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the behavioral burden. It does disclose the analytical basis (sector-dependent corridors, the specific articles applied) but says nothing about whether the operation is read-only, what the verdict/output shape is, or how ties or boundary cases near a threshold are handled. Notably, it advertises a display-deadline check under Article 23 while the schema exposes no date parameters, leaving that behavior unexplained.

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?

A single front-loaded sentence with the legal reference up front and the two checks enumerated after a colon. No filler, no repetition of the tool name, and every clause carries information.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a four-parameter calculation tool with no annotations and no output schema, the description should say more about what a caller receives (a boolean verdict, a threshold percentage, flag details) and about the Article 23 deadline check that no parameter appears to support. The legal grounding is solid but the operational picture is incomplete.

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 100%, so the schema already documents all four parameters, including the sector enum and its -20% / -25% corridor rationale. The description adds no parameter-level meaning beyond what the schema provides, so 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?

States a specific verb+resource combination ('Calculer la conformité d'une offre financière') and anchors it to a named legal instrument (Décret n° 2-22-431) with the exact articles covered. The two checks performed (abnormal low/excess offer detection under Articles 44 & 45, display-deadline verification under Article 23) make the scope concrete. It does not explicitly distinguish itself from the closest sibling, audit_submission_checklist, which is why this is not a 5.

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

Usage Guidelines3/5

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

Usage is only implied: an agent can infer this is the tool for evaluating a bid amount against the administrative estimate. There is no explicit statement of when to call this versus alternatives such as audit_submission_checklist or execute_procurement_intent, and no stated prerequisites (e.g. that both amounts must be known in advance).

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.