Skip to main content
Glama
CallRail MCP

CallRail MCP

by pghdma

get_form_submission

Read-onlyIdempotent

Retrieve full details for one CallRail form submission, including submitted field data, customer details, attribution, and page URL. Use the submission ID to inspect the original form payload.

Instructions

Get full detail for one form submission, including all submitted field data.

Useful for retrieving the original form payload after seeing a submission ID via list_form_submissions or in a webhook callback.

Args: submission_id: 'FOR...' id. account_id: CallRail account ID. Auto-resolves if omitted.

Returns: JSON string with the form submission: submitted_at, customer details, source/UTM attribution, landing page URL, referrer, and form_data dict keyed by form field name.

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

Input Schema

NameRequiredDescriptionDefault
account_idNo
submission_idYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent and non-destructive, so the safety profile is covered. The description adds useful behavior beyond them: the single-submission scope and the auto-resolution of account_id when omitted, which is a real behavioral trait the agent would otherwise have to guess.

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?

Front-loaded with purpose before the Args/Returns blocks, and each line is scoped to its heading. The Returns section is somewhat verbose given an output schema exists, but nothing is filler.

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?

A read-only single-record lookup with two simple parameters is fully covered: purpose, trigger context, both parameter meanings, and expected payload contents. The return-value prose partially duplicates the output schema, so it is complete but not optimally lean.

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 0% schema description coverage, the description must carry parameter meaning and it does: submission_id is characterized as a 'FOR...' id, and account_id is documented as auto-resolving if omitted. It adds genuine semantics beyond the bare string/null types, though it gives no examples of the full ID format.

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?

States a specific verb and resource ('Get full detail for one form submission') plus the scope ('including all submitted field data'), which cleanly separates it from the sibling list_form_submissions (which only enumerates submissions). An agent can pick it without opening the schema.

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?

Explicitly describes the trigger context: use it after obtaining a submission ID from `list_form_submissions` or a webhook callback. That is a clear when-to-use with the alternative named. It stops short of stating when not to use it (e.g., bulk retrieval), so it is strong rather than complete.

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