Skip to main content
Glama

Send Contract

send_contract

Email the contract PDF to the client (comms scope). Uses the booking's contact email unless you pass email. Optional subject, message, template_id. Stamps contract-sent.

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

Input Schema

NameRequiredDescriptionDefault
idYesThe record's numeric id, from the matching list/get/search tool.
emailNoAn email address, e.g. name@example.com.
messageNoThe message body (plain text).
subjectNoThe email subject line.
template_idNoA template's id (from the matching list tool).
recipient_nameNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed5 schema fields changed
    • addedInput schema / properties / email / description
      Added value: +"An email address, e.g. name@example.com."
    • addedInput schema / properties / id / description
      Added value: +"The record's numeric id, from the matching list/get/search tool."
    • addedInput schema / properties / message / description
      Added value: +"The message body (plain text)."
    • addedInput schema / properties / subject / description
      Added value: +"The email subject line."
    • addedInput schema / properties / template_id / description
      Added value: +"A template's id (from the matching list tool)."
  2. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Beyond the annotations, it discloses two behaviors the agent could not otherwise know: the default recipient resolution from the booking's contact email, and a write side effect ("Stamps contract-sent"). That is meaningful context for a non-destructive but non-idempotent mutation. The only mild tension is that an external email send sits alongside openWorldHint=false, which the description neither confirms nor explains.

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?

Three short sentences, front-loaded with the action and recipient, then defaults, then optional fields, then the side effect. No filler or restated title text.

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

Completeness4/5

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

For a 6-parameter mutation with one required field, no output schema, and rich annotations, the description covers action, recipient default, optional fields, and side effect. It is nearly complete; only recipient_name and any confirmation of send success are unaddressed.

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?

With 83% schema coverage the baseline is 3, and the description adds real meaning: email is an override of the default contact address, and subject, message, and template_id are optional. The one parameter it leaves unexplained is recipient_name, which also lacks a schema description.

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 and resource combination: "Email the contract PDF to the client," which is far more precise than the title "Send Contract." It also names the required scope (comms scope). It does not explicitly differentiate itself from close siblings such as send_signing_link or send_email, so an agent still has to infer which send tool applies.

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?

It gives useful conditional guidance for the recipient: use the booking's contact email unless an email is passed. However, it offers no explicit when-to-use versus the many sibling send_* tools (send_signing_link, send_email, send_coi), so the routing decision is only implied.

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