Skip to main content
Glama
CallRail MCP

CallRail MCP

by pghdma

update_form_submission

Idempotent

Modify a CallRail form submission's note, tags, monetary value, or lead status. Use it to correct routing metadata and lead qualification without clearing fields accidentally.

Instructions

Update an existing form submission: note, tags, value, lead status.

Args: submission_id: CallRail form-submission id (prefix 'FOR...'). account_id: Auto-resolves if omitted. note: Free text (max 4000 chars). tags: Tag names. REPLACES the submission's tags unless append_tags=True (CallRail's documented flag). Unknown names are auto-created at the company level. value: Monetary value; sent as a currency string ("12.50"), which is what PUT /form_submissions accepts. spam: NOT supported for form submissions (the PUT body has no spam field); passing it returns an error. Spam flagging exists for calls only (update_call). lead_status: 'good_lead' or 'not_a_lead'. CallRail returns 400 when a submission already at previously_marked_good_lead is set to good_lead. append_tags: Add tags to the existing ones instead of replacing.

Empty-string fields (e.g. note="") are rejected to prevent accidental field-clearing. See update_call docstring.

Length caps (rejected pre-network): - note: 4000 chars - tags: 100 entries max

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": {
      "submission_id": "<submission_id>"
    },
    "name": "update_form_submission"
  }
}

Input Schema

NameRequiredDescriptionDefault
noteNo
spamNo
tagsNo
valueNo
account_idNo
append_tagsNo
lead_statusNo
submission_idYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv1.3.2
    • addedInput schema / properties / append_tags
      Added value: +{
      +  "default": false,
      +  "title": "Append Tags",
      +  "type": "boolean"
      +}
  2. First observedv1.0.0

TDQS

A4.5/5.0
Behavior5/5

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

Goes well beyond the annotations: tags REPLACE existing tags by default, unknown tag names are auto-created at company level, empty-string fields are rejected pre-network, and a 400 is returned when a previously_marked_good_lead submission is set to good_lead. It also documents spam as unsupported, which prevents a wasted failed call. The only mild tension is destructiveHint=false despite tag replacement, but the description discloses the overwrite behavior explicitly rather than contradicting it.

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?

Field-by-field structure with the destructive tag-replacement caveat front-loaded is easy to scan. The 4000-char note limit is stated twice (inline and again under Length caps), a small redundancy that keeps it from a 5.

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

Completeness5/5

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

For an 8-parameter mutation tool with an output schema, everything an agent needs is present: field semantics, accepted values, hard limits, error conditions, and the one parameter that must not be used. Return values are correctly left to the output schema.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

With 0% schema description coverage, the description carries the full burden and does so: submission_id prefix format, account_id auto-resolution, note's 4000-char cap, tags' 100-entry cap and auto-creation semantics, value sent as a currency string and not a raw number, lead_status's two legal values, and spam's rejection. This also corrects the schema, which types value as a number while the API expects a string.

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?

Names a specific verb and resource ("Update an existing form submission") and enumerates the four mutable fields, so the agent knows exactly what changes. It does not distinguish itself from create_form_submission or bulk_update_calls, though it does explicitly carve out update_call for spam handling.

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?

Gives concrete when-to-use routing: use update_call for spam, use append_tags=True to add rather than replace tags, and account_id may be omitted. It does not state when an agent should prefer this over create_form_submission or bulk alternatives, so it stops short of full alternative coverage.

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