Skip to main content
Glama
pghdma

CallRail MCP

by pghdma

get_form_submission

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

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.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
account_idNo
submission_idYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.6/5.0
Behavior4/5

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

With no annotations provided, the description carries the full behavioral burden. It discloses that the tool returns a JSON string and enumerates key returned fields, including the `form_data` dict, and explains the optional behavior of `account_id` auto-resolving. However, it does not mention not-found or error behavior, which would make it more complete.

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?

The description is well-structured and front-loaded: a one-sentence purpose, a usage context sentence, then compact Args and Returns sections. Every sentence adds value, and there is no filler or repetition.

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 a two-parameter retrieval tool, the description covers what the tool does, when to use it, how the parameters behave, and what the response contains. Although an output schema exists, the description's return-value details make it self-sufficient; no critical calling information is missing.

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?

The input schema has no property descriptions (0% coverage), but the description fully compensates: it documents `submission_id` as a 'FOR...' id and explains that `account_id` is a CallRail account ID that auto-resolves if omitted. This adds essential semantic meaning beyond the bare type declarations.

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?

The description states a specific verb and resource ('Get full detail for one form submission') and immediately distinguishes it from list-style operations by emphasizing 'one' submission and 'all submitted field data.' It also references `list_form_submissions`, making the differentiation from its closest sibling explicit.

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?

The description provides clear usage context: fetch a single submission after seeing a submission ID via `list_form_submissions` or in a webhook callback. It does not explicitly state 'use list_form_submissions when you need multiple submissions,' but the single-vs-list distinction is strongly implied.

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