Skip to main content
Glama

commit_crm_write

Creates the previewed Salesforce records after a rep approves the preview. Requires a matching fingerprint, and prevents duplicate record creation.

Instructions

Step 2 of 2: create the previewed Salesforce records, ONLY after the rep said yes to that preview. The fingerprint must match; the same record is never created twice.

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": {
      "write_id": "<write_id>",
      "fingerprint": "<fingerprint>"
    },
    "name": "commit_crm_write"
  }
}

Input Schema

NameRequiredDescriptionDefault
write_idYes
fingerprintYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.2/5.0
Behavior4/5

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

With no annotations, the description carries the full load and delivers the key behaviors: this is a mutating commit gated on human confirmation, it is idempotent ('the same record is never created twice'), and it enforces fingerprint consistency. It stops short of describing what happens when the fingerprint does not match (error? rejection?) and never states required permissions or what a successful commit returns.

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?

Two short sentences, precondition front-loaded before the idempotency guarantee. Nothing redundant, nothing padded.

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 two-parameter mutation tool with no annotations and no output schema, the definition covers the critical risks: timing, human approval, and duplicate prevention. The remaining gaps are failure behavior on mismatch and the origin of write_id, which are meaningful but secondary.

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 0%, so the description must compensate and it only partly does: it explains why a fingerprint exists (must match the previewed write) but leaves write_id unexplained — presumably the handle returned by the prepare step, though a caller must infer that. Two required opaque strings with only half their semantics documented.

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?

Specific verb and resource — 'create the previewed Salesforce records' — plus explicit sequencing ('Step 2 of 2') that separates it from the preview step. An agent can tell immediately that this is the commit half of a two-phase write, not the prepare half.

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?

Strong gating guidance: only call after the rep said yes to the preview, and only as the second step. It does not explicitly name prepare_crm_write as the counterpart to fall back to or state what to do if the rep declines, but the when-to-use condition is unambiguous.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.