Skip to main content
Glama

Sync drafts from customer

sync_drafts_from_customer
DestructiveIdempotent

Copies the filled fields of the customer card to all open documents (invoice drafts and open proformas) of that customer the user may edit. A field removed from the card stays on the documents. Issued documents are not changed.

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": {
      "company_id": "<company_id>",
      "customer_id": "<customer_id>"
    },
    "name": "sync_drafts_from_customer"
  }
}

Input Schema

NameRequiredDescriptionDefault
company_idYesThe id of the company, from list_companies.
customer_idYesThe id of the customer, from list_customers.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations declare destructiveHint=true, idempotentHint=true and readOnlyHint=false but say nothing about scope. The description fills that gap well: only open documents the user may edit are touched, only filled fields are copied, a field removed from the card is deliberately left on documents, and issued documents are untouched. That explains the real blast radius of a destructive-flagged write; only the return/response behavior is unaddressed.

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, each carrying distinct information: the core action and target set first, then the subtle removed-field rule, then the exclusion boundary. No filler or repetition of the title.

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?

With no output schema, the description covers effects and exclusions thoroughly for a two-parameter mutation, but it does not indicate what the call returns (e.g. which/how many documents were updated) or that it is repeatable in practice. That is a modest gap for a sync tool whose results users would want reported.

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?

Both parameters are fully documented in the schema (100% coverage), including provenance hints pointing at list_companies and list_customers. The description adds no additional meaning about the identifiers, so the baseline 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?

The description gives a specific verb (copies) and precisely scopes the resource: filled customer-card fields propagated to open documents (invoice drafts and open proformas) the user may edit. It clearly is not the company variant, but it never names or contrasts with sync_drafts_from_company, leaving that sibling distinction to be inferred from the words 'customer card'.

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 implied rather than stated: an agent can infer this is the tool to call after customer card changes, and the note that issued documents are not changed implicitly bounds the use case. There is no explicit when-to-use/when-not statement and no named alternative for the company-wide case.

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