Skip to main content
Glama

Mark Contract

mark_contract
Destructive

Stamp or clear a booking's contract status: sent=true/false and/or returned=true/false.

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": "mark_contract"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesThe record's numeric id, from the matching list/get/search tool.
sentNo
returnedNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / id / description
      Added value: +"The record's numeric id, from the matching list/get/search tool."
  2. First observed

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true, idempotentHint=false, and readOnlyHint=false, so the mutation risk profile is covered structurally. The description adds the meaningful nuance that setting false *clears* existing status rather than leaving it untouched, but it does not say what is erased (e.g., sent/returned timestamps), whether clearing is reversible, or what permissions are required.

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?

A single tight sentence, front-loaded with the action and ending with the concrete parameter semantics. Nothing is wasted, though the extreme brevity leaves the "and/or" case and the omit-both case under-specified rather than resolved.

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 3-parameter, no-output-schema, destructive mutation tool, the definition covers the happy path but omits the consequences of clearing, the behavior when optional flags are omitted, and any prerequisite about an existing contract. An agent could invoke it for the obvious case but would be guessing at the edge cases.

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 coverage is only 33% — just the id parameter is documented — so the description must carry weight, and it does explain that sent and returned are boolean flags that can be toggled independently or together. It does not address the important ambiguity of a call supplying only id (both flags omitted): is that a no-op, an error, or a clear of both?

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?

"Stamp or clear a booking's contract status" gives a specific verb pair (stamp/clear) and a specific resource (a booking's contract status), with the exact flags named. It is distinguishable from workflow siblings like send_contract or waive_booking_contract, though it never names an alternative explicitly.

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?

The phrase "sent=true/false and/or returned=true/false" implies the agent may set either flag alone or both together, which is useful usage framing. However, there is no when-to-use vs. when-not guidance, no mention of how this differs from send_contract or the waive/unwaive siblings, and no stated preconditions (e.g., must a contract exist first).

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