Skip to main content
Glama

Watch a lot / Surveiller un lot

watch_create
DestructiveIdempotent

Use this when the user wants a lot re-checked on a schedule (weekly or daily) and notified at their own https webhook; the Registre has no push feed. Creating the watch is not charged, but every later check can deliver a document, so the cost recurs. Send a unique idempotency_key; a retry with the same key returns the stored answer instead of charging twice (kept 24 h). Envoyez une idempotency_key unique ; un nouvel essai avec la même clé ne facture pas deux fois (conservée 24 h). Requires an authenticated Fonciq account. / Exige un compte Fonciq authentifié. À utiliser pour surveiller un lot ; la création n’est pas facturée, mais chaque revérification peut livrer un document.

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": {
      "lot": "<lot>",
      "url": "<url>",
      "idempotency_key": "<idempotency_key>"
    },
    "name": "watch_create"
  }
}

Input Schema

NameRequiredDescriptionDefault
lotYesLot number. / Numéro de lot.
urlYesWebhook URL (https). / URL du webhook.
cadenceNoweekly
rf_account_idNoRegistre account id; omit for the organization default. / Compte du Registre ; par défaut si omis.
idempotency_keyYesUnique key for this write, 8+ characters. / Clé unique pour cette écriture.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • removedInput schema / properties / user_request
      Removed value: -{
      -  "description": "The user's request in their own words, short. / La demande de l'utilisateur, en ses mots, courte.",
      -  "maxLength": 500,
      -  "type": "string"
      -}
  2. Changed1 schema field changed
    • addedInput schema / properties / user_request
      Added value: +{
      +  "description": "The user's request in their own words, short. / La demande de l'utilisateur, en ses mots, courte.",
      +  "maxLength": 500,
      +  "type": "string"
      +}
  3. First observed

TDQS

A4.3/5.0
Behavior5/5

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

Beyond the annotations (readOnly=false, destructive=true, idempotent=true, openWorld=true) the description discloses the economically critical behavior: creation is free but every later check recurs a cost, which is exactly the risk an agent must warn about before a destructiveHint tool. It also documents the idempotency contract (same key returns the stored answer instead of double-charging, retained 24 h) and the authentication requirement.

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 English portion is front-loaded and dense with useful information. However, the bilingual mirroring is compounded by a final French sentence that restates the free-creation/paid-recheck point a third time, so a meaningful fraction of the text is repetition rather than new 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 5-parameter mutation tool with no output schema, the definition covers when to use it, cost profile and auth, but says nothing about what creation returns (watch id, next-run time, expiry) or how to inspect/cancel an existing watch. Since there is no output schema, some return-value guidance would have been warranted.

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 already 80%, so lot, url, cadence and rf_account_id are largely self-documenting; the description's added value is the retry semantics of idempotency_key — that the key must be unique and that a repeat returns the stored answer rather than charging again. It does not add anything about cadence defaults or rf_account_id fallback beyond what the schema states.

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 first sentence names a specific verb and resource: creating a 'watch' that re-checks a 'lot' on a weekly/daily schedule and pushes a notification to the user's own https webhook. It also scopes it against the general lookup tools by explaining the Registre has no push feed, so an agent knows this is the recurring-notification tool rather than a one-off lookup.

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?

'Use this when the user wants a lot re-checked on a schedule...' gives a clear triggering condition, and the 'no push feed' line explains why this tool is needed at all. It stops short of naming an explicit alternative (e.g. lot_get for a single check) or stating when not to use it, so it is clear context without exclusions.

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