Skip to main content
Glama

Publier une mise à jour

dandori_contract_add_update

Publier une mise à jour sur un contrat : un texte, et des liens en preuve (vidéo YouTube, activité Strava…). Photos et notes vocales se joignent depuis l'app

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": {
      "id": "<id>"
    },
    "name": "dandori_contract_add_update"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesID du contrat
linksNoLiens en preuve
contentNoLe texte de la mise à jour
week_startNoLundi de la semaine visée (YYYY-MM-DD) ; par défaut la semaine en cours
proofs_publicNoMontrer les preuves sur la page publique du contrat ; sinon, les témoins seuls les voient

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / week_start / pattern
      Added value: +"^\\d{4}-\\d{2}-\\d{2}$"
  2. First observed

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnly=false, destructive=false, openWorld=false and idempotent=false, so the safety profile is largely covered. The description adds that media attachments are out of scope for this call, which is useful, but it never notes that repeated calls create separate updates (non-idempotent) or what permissions/contract state are required. With annotations doing most of the work, a 3 is appropriate.

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?

Two short sentences, front-loaded with the publish action and followed immediately by the media limitation. Every clause carries information, though the informal phrasing with ellipsis and a trailing app note is slightly loose rather than crisp.

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 five-parameter mutation tool with no output schema, the description covers what inputs are expected and what is excluded, but says nothing about the response (e.g. the created update identifier) or effect on contract participants. It is adequate to invoke the tool but leaves behavioral edge cases to inference.

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 all five parameters, including week_start format and the proofs_public visibility rule, are already documented in the schema. The description only adds meaningful detail for one parameter by giving example link types for 'links'. That is a marginal gain over the schema, so baseline 3 holds.

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 names a specific verb+resource: publishing an update on a contract, composed of text and proof links. Examples of acceptable link types (YouTube video, Strava activity) sharpen the picture. It does not differentiate from siblings such as contract_add_witness or update_note, so it stops short of 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 Guidelines4/5

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

It gives real context on when this tool applies (posting a text update with proof links) and, importantly, a negative constraint: photos and voice notes must be attached from the app, not here. It does not name an alternative tool for those media cases or for witness-related actions, so explicit routing is missing.

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