Skip to main content
Glama

Preview a US texting registration

preview_sms_application
Read-onlyIdempotent

Preview local or toll-free SMS registration text without filing or charging.

    The response contains the description, consent flow and samples for user review before submission.
    Answers require actual applicant information and consent evidence.
    Evidence links can come from ``create_file_upload`` with purpose ``sms_evidence``.
    Field or length errors appear in ``problems``.
    Limits are 100 fields and 64 KiB of combined fields and address.
    A successful preview does not guarantee submission: duplicates, low credit or carrier checks can still prevent it.
    

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": {
      "subject_type": "<subject_type>",
      "fields": "<fields>"
    },
    "name": "preview_sms_application"
  }
}

Input Schema

NameRequiredDescriptionDefault
fieldsYesProposed applicant answers keyed by the field names in ``get_verification_requirements`` with purpose ``sms``.
addressNoThe applicant's address. Give it when the requirements include one; otherwise leave it out.
llm_modelNoThe calling agent's provider model ID, as shown in the client's model configuration when available. Recorded for analytics.
number_idNoOwned toll-free number ID from ``list_numbers``, for a toll-free preview. Omitted: a US local preview.
subject_typeYesWho the registration is for: the user themselves (``person``) or their company (``business``).

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / address / anyOf
      Previous value: -[
      -  {
      -    "properties": {
      -      "city": {
      -        "description": "City or town of the street address, as written on mail sent there.",
      -        "title": "City",
      -        "type": "string"
      -      },
      -      "country_code": {
      -        "description": "ISO alpha-2 address country.",
      -        "title": "Country Code",
      -        "type": "string"
      -      },
      -      "customer_name": {
      -        "description": "Name associated with the address.",
      -        "title": "Customer Name",
      -        "type": "string"
      -      },
      -      "postal_code": {
      -        "description": "Postal or ZIP code of the street address, such as `94103`.",
      -        "title": "Postal Code",
      -        "type": "string"
      -      },
      -      "region": {
      -        "description": "State, province or region.",
      -        "title": "Region",
      -        "type": "string"
      -      },
      -      "street": {
      -        "description": "Street address.",
      -        "title": "Street",
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "customer_name",
      -      "street",
      -      "city",
      -      "region",
      -      "postal_code",
      -      "country_code"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "properties": {
      +      "city": {
      +        "description": "City or town as it appears in the applicant's mailing address.",
      +        "title": "City",
      +        "type": "string"
      +      },
      +      "country_code": {
      +        "description": "ISO alpha-2 address country.",
      +        "title": "Country Code",
      +        "type": "string"
      +      },
      +      "customer_name": {
      +        "description": "Name associated with the address.",
      +        "title": "Customer Name",
      +        "type": "string"
      +      },
      +      "postal_code": {
      +        "description": "Postal or ZIP code of the street address, such as `94103`.",
      +        "title": "Postal Code",
      +        "type": "string"
      +      },
      +      "region": {
      +        "description": "State, province, or equivalent administrative area in the applicant's address.",
      +        "title": "Region",
      +        "type": "string"
      +      },
      +      "street": {
      +        "description": "Street address.",
      +        "title": "Street",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "customer_name",
      +      "street",
      +      "city",
      +      "region",
      +      "postal_code",
      +      "country_code"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • changedInput schema / properties / llm_model / description
      Previous value: -"Model ID of the calling agent. Optional. Recorded for analytics only."New value: +"The calling agent's provider model ID, as shown in the client's model configuration when available. Recorded for analytics."
  2. Changed3 schema fields changed
    • removedOutput schema / additionalProperties
      Removed value: -true
    • addedOutput schema / anyOf
      Added value: +[
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "age_gated": {
      +        "default": false,
      +        "title": "Age Gated",
      +        "type": "boolean"
      +      },
      +      "contact_email": {
      +        "title": "Contact Email",
      +        "type": "string"
      +      },
      +      "description": {
      +        "title": "Description",
      +        "type": "string"
      +      },
      +      "direct_lending": {
      +        "default": false,
      +        "title": "Direct Lending",
      +        "type": "boolean"
      +      },
      +      "has_links": {
      +        "title": "Has Links",
      +        "type": "boolean"
      +      },
      +      "has_phone": {
      +        "default": false,
      +        "title": "Has Phone",
      +        "type": "boolean"
      +      },
      +      "message_flow": {
      +        "title": "Message Flow",
      +        "type": "string"
      +      },
      +      "opt_in_keywords": {
      +        "items": {
      +          "type": "string"
      +        },
      +        "title": "Opt In Keywords",
      +        "type": "array"
      +      },
      +      "opt_in_message": {
      +        "default": "",
      +        "title": "Opt In Message",
      +        "type": "string"
      +      },
      +      "privacy_policy_url": {
      +        "title": "Privacy Policy Url",
      +        "type": "string"
      +      },
      +      "samples": {
      +        "items": {
      +          "type": "string"
      +        },
      +        "title": "Samples",
      +        "type": "array"
      +      },
      +      "schema_version": {
      +        "default": 1,
      +        "minimum": 1,
      +        "title": "Schema Version",
      +        "type": "integer"
      +      },
      +      "terms_url": {
      +        "title": "Terms Url",
      +        "type": "string"
      +      },
      +      "text_types": {
      +        "items": {
      +          "type": "string"
      +        },
      +        "title": "Text Types",
      +        "type": "array"
      +      },
      +      "use_case": {
      +        "title": "Use Case",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "use_case",
      +      "description",
      +      "message_flow",
      +      "samples",
      +      "has_links",
      +      "privacy_policy_url",
      +      "terms_url",
      +      "text_types",
      +      "contact_email",
      +      "has_phone",
      +      "age_gated",
      +      "direct_lending",
      +      "opt_in_message",
      +      "opt_in_keywords",
      +      "schema_version"
      +    ],
      +    "title": "CampaignText",
      +    "type": "object"
      +  },
      +  {
      +    "properties": {
      +      "error": {
      +        "type": "string"
      +      },
      +      "problems": {
      +        "description": "Validation issues with an input path and a message.",
      +        "items": {
      +          "properties": {
      +            "loc": {
      +              "items": {
      +                "type": [
      +                  "string",
      +                  "integer"
      +                ]
      +              },
      +              "type": "array"
      +            },
      +            "msg": {
      +              "type": "string"
      +            }
      +          },
      +          "required": [
      +            "loc",
      +            "msg"
      +          ],
      +          "type": "object"
      +        },
      +        "type": "array"
      +      }
      +    },
      +    "required": [
      +      "error"
      +    ],
      +    "type": "object"
      +  }
      +]
    • removedOutput schema / title
      Removed value: -"preview_sms_application_toolDictOutput"
  3. Changed1 schema field changed
    • addedInput schema / properties / llm_model
      Added value: +{
      +  "description": "Model ID of the calling agent. Optional. Recorded for analytics only.",
      +  "type": "string"
      +}
  4. Changed1 schema field changed
    • changedInput schema / properties / address / anyOf
      Previous value: -[
      -  {
      -    "properties": {
      -      "city": {
      -        "description": "City or locality.",
      -        "title": "City",
      -        "type": "string"
      -      },
      -      "country_code": {
      -        "description": "ISO alpha-2 address country.",
      -        "title": "Country Code",
      -        "type": "string"
      -      },
      -      "customer_name": {
      -        "description": "Name associated with the address.",
      -        "title": "Customer Name",
      -        "type": "string"
      -      },
      -      "postal_code": {
      -        "description": "Postal or ZIP code.",
      -        "title": "Postal Code",
      -        "type": "string"
      -      },
      -      "region": {
      -        "description": "State, province or region.",
      -        "title": "Region",
      -        "type": "string"
      -      },
      -      "street": {
      -        "description": "Street address.",
      -        "title": "Street",
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "customer_name",
      -      "street",
      -      "city",
      -      "region",
      -      "postal_code",
      -      "country_code"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "properties": {
      +      "city": {
      +        "description": "City or town of the street address, as written on mail sent there.",
      +        "title": "City",
      +        "type": "string"
      +      },
      +      "country_code": {
      +        "description": "ISO alpha-2 address country.",
      +        "title": "Country Code",
      +        "type": "string"
      +      },
      +      "customer_name": {
      +        "description": "Name associated with the address.",
      +        "title": "Customer Name",
      +        "type": "string"
      +      },
      +      "postal_code": {
      +        "description": "Postal or ZIP code of the street address, such as `94103`.",
      +        "title": "Postal Code",
      +        "type": "string"
      +      },
      +      "region": {
      +        "description": "State, province or region.",
      +        "title": "Region",
      +        "type": "string"
      +      },
      +      "street": {
      +        "description": "Street address.",
      +        "title": "Street",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "customer_name",
      +      "street",
      +      "city",
      +      "region",
      +      "postal_code",
      +      "country_code"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
  5. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Beyond the read-only and idempotent annotations, the description explains that no filing or charge occurs, that actual applicant information and consent evidence are required, where evidence links come from, where field errors appear, and the 100-field/64 KiB limits. It also warns that a successful preview does not guarantee submission due to duplicates, credit, or carrier checks.

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 front-loaded with the core purpose and then layers in response contents, input requirements, limits, and submission caveats. Each sentence adds distinct operational value without redundant restatement.

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?

The tool has five parameters, nested objects, an output schema, and rich annotations. The description covers purpose, prerequisites, evidence sourcing, limits, and failure caveats, leaving no material gap for an agent deciding whether and how to call it.

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?

Schema description coverage is 100%, so the baseline is 3. The description adds useful constraints beyond the schema, including the combined field/address size limit and the fact that evidence links can come from create_file_upload with purpose sms_evidence.

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 gives a specific verb and resource: preview local or toll-free SMS registration text without filing or charging. It clearly distinguishes this from filing or amending an application by framing it as a review step before submission.

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?

It states the primary use case clearly: review registration text and consent flow before submission. It does not explicitly name when to use amend_sms_application or get_sms_application instead, but the 'before submission' framing provides strong contextual guidance.

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.