Skip to main content
Glama

Get verification requirements

get_verification_requirements
Read-onlyIdempotent

Read a carrier's current registration fields, documents and address requirements.

    The response's ``subject_types`` lists the applicant types the carrier accepts.
    US local SMS registration uses ``purpose="sms"``, country ``US`` and type ``local``.
    Toll-free verification uses ``purpose="sms"``, the number's country ``US`` or ``CA``,
    type ``toll_free`` and its owned ``number_id``. Each number needs its own verification.
    Applicant country and business tax status determine the registration route.
    The personal route is available to US or Canadian applicants without a business tax number.
    Local 10DLC fees apply at submission, carrier review and monthly after approval.
    Toll-free verification is free and sends no identity confirmation code.

    Returns ``required``, ``fields``, ``documents`` and ``address_required``.
    ``required=false`` means a registration submission is unnecessary and would fail.
    Fields and files require accurate information supplied by the authorized applicant.
    Choice fields accept comma-separated option keys within their ``min_choices`` and ``max_choices``.
    Field ``max_length`` uses UTF-16 code units; an emoji counts as two.
    Selected consent methods can require evidence even when shared fields are optional.
    No public link for an ``*_evidence_url`` field? Upload the screenshot with
    ``create_file_upload`` (purpose ``sms_evidence``) and use the ``url`` it returns.
    Document slots with ``needs_input=false`` require no upload.
    An upstream failure returns an error.

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": {
      "country_code": "<country_code>",
      "number_type": "<number_type>",
      "subject_type": "<subject_type>"
    },
    "name": "get_verification_requirements"
  }
}

Input Schema

NameRequiredDescriptionDefault
purposeNoWhat the registration is for: ``number`` registers the applicant so a number can be bought; ``sms`` registers US texting (local 10DLC or toll-free).number
quote_idNoThe offer to register for: its ``quote_id`` from ``quote_numbers``, which selects that offer's form. Give it when ``purpose`` is ``number``; leave it out for ``sms``.
llm_modelNoThe calling agent's provider model ID, as shown in the client's model configuration when available. Recorded for analytics.
number_idNoThe owned number this registration is for: its ID from ``list_numbers``, the same one used for the requirements. Give it for toll-free texting and when the form asks for the sending number; otherwise leave it out.
number_typeYesThe kind of number this registration covers. Copy it from the offer in ``quote_numbers`` or the number in ``list_numbers``.
country_codeYesISO 3166-1 alpha-2 country code, such as ``US``.
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. Changed1 schema field changed
    • 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. Changed4 schema fields changed
    • addedOutput schema / $defs
      Added value: +{
      +  "DocumentOption": {
      +    "description": "One accepted way to fill a document slot (e.g. passport or ID card).",
      +    "properties": {
      +      "copies": {
      +        "default": [],
      +        "description": "Names of the customer's own fields copied onto this document automatically.",
      +        "items": {
      +          "type": "string"
      +        },
      +        "title": "Copies",
      +        "type": "array"
      +      },
      +      "fields": {
      +        "default": [],
      +        "description": "Extra values this document needs. Send them in the slot's `fields`.",
      +        "items": {
      +          "$ref": "#/$defs/FieldSpec"
      +        },
      +        "title": "Fields",
      +        "type": "array"
      +      },
      +      "file_required": {
      +        "default": true,
      +        "description": "True when the customer must upload a file for this option.",
      +        "title": "File Required",
      +        "type": "boolean"
      +      },
      +      "key": {
      +        "description": "Value to send as `option` for this document type.",
      +        "title": "Key",
      +        "type": "string"
      +      },
      +      "label": {
      +        "description": "Label to show the customer, e.g. 'Passport'.",
      +        "title": "Label",
      +        "type": "string"
      +      },
      +      "needs_address": {
      +        "default": false,
      +        "description": "True when this document refers to the address the customer gave.",
      +        "title": "Needs Address",
      +        "type": "boolean"
      +      }
      +    },
      +    "required": [
      +      "key",
      +      "label",
      +      "file_required",
      +      "fields",
      +      "copies",
      +      "needs_address"
      +    ],
      +    "title": "DocumentOption",
      +    "type": "object"
      +  },
      +  "DocumentSlot": {
      +    "description": "A required proof (identity, address, registration) with its options.",
      +    "properties": {
      +      "help": {
      +        "default": "",
      +        "description": "Help text from the carrier.",
      +        "title": "Help",
      +        "type": "string"
      +      },
      +      "label": {
      +        "description": "Label to show the customer, e.g. 'Proof of identity'.",
      +        "title": "Label",
      +        "type": "string"
      +      },
      +      "name": {
      +        "description": "Key for this slot in `documents` and in the `file.<name>` part.",
      +        "title": "Name",
      +        "type": "string"
      +      },
      +      "needs_input": {
      +        "description": "False when there is nothing to ask: one option, no file, no extra\nvalues. The UI hides such a slot; the plug-in still fills it.",
      +        "readOnly": true,
      +        "title": "Needs Input",
      +        "type": "boolean"
      +      },
      +      "options": {
      +        "description": "The accepted ways to fill this slot. The customer picks one.",
      +        "items": {
      +          "$ref": "#/$defs/DocumentOption"
      +        },
      +        "title": "Options",
      +        "type": "array"
      +      }
      +    },
      +    "required": [
      +      "name",
      +      "label",
      +      "help",
      +      "options",
      +      "needs_input"
      +    ],
      +    "title": "DocumentSlot",
      +    "type": "object"
      +  },
      +  "FieldOption": {
      +    "description": "One allowed value for a field with a fixed set of answers.",
      +    "properties": {
      +      "key": {
      +        "description": "Value to send.",
      +        "title": "Key",
      +        "type": "string"
      +      },
      +      "label": {
      +        "description": "Label to show the customer.",
      +        "title": "Label",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "key",
      +      "label"
      +    ],
      +    "title": "FieldOption",
      +    "type": "object"
      +  },
      +  "FieldSpec": {
      +    "description": "One value the customer types in.",
      +    "properties": {
      +      "help": {
      +        "default": "",
      +        "description": "Help text from the carrier.",
      +        "title": "Help",
      +        "type": "string"
      +      },
      +      "kind": {
      +        "default": "text",
      +        "description": "Input kind: 'text', 'email', 'phone', 'url', or 'choices' (pick several of `options`; send their keys joined by commas).",
      +        "enum": [
      +          "text",
      +          "email",
      +          "phone",
      +          "url",
      +          "choices"
      +        ],
      +        "title": "Kind",
      +        "type": "string"
      +      },
      +      "label": {
      +        "description": "Label to show the customer.",
      +        "title": "Label",
      +        "type": "string"
      +      },
      +      "max_choices": {
      +        "anyOf": [
      +          {
      +            "type": "integer"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "default": null,
      +        "description": "For kind 'choices': the most options to pick.",
      +        "title": "Max Choices"
      +      },
      +      "max_length": {
      +        "anyOf": [
      +          {
      +            "type": "integer"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "default": null,
      +        "description": "The most characters the value may hold, when known, counted in UTF-16 code units (an emoji counts as 2). Enforced: a longer value gets 422. A form can show a field allowed more than about 100 characters as a box that wraps.",
      +        "title": "Max Length"
      +      },
      +      "min_choices": {
      +        "anyOf": [
      +          {
      +            "type": "integer"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "default": null,
      +        "description": "For kind 'choices': the fewest options to pick.",
      +        "title": "Min Choices"
      +      },
      +      "name": {
      +        "description": "Key to send this value under in `fields`.",
      +        "title": "Name",
      +        "type": "string"
      +      },
      +      "options": {
      +        "anyOf": [
      +          {
      +            "items": {
      +              "$ref": "#/$defs/FieldOption"
      +            },
      +            "type": "array"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "default": null,
      +        "description": "Allowed values, when the field is a choice. Show a select, not a text box.",
      +        "title": "Options"
      +      },
      +      "pattern": {
      +        "anyOf": [
      +          {
      +            "type": "string"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "default": null,
      +        "description": "Regular expression the value must match, when the carrier gives one.",
      +        "title": "Pattern"
      +      },
      +      "required": {
      +        "default": true,
      +        "description": "False when the field is optional.",
      +        "title": "Required",
      +        "type": "boolean"
      +      }
      +    },
      +    "required": [
      +      "name",
      +      "label",
      +      "kind",
      +      "help",
      +      "pattern",
      +      "options",
      +      "required",
      +      "min_choices",
      +      "max_choices",
      +      "max_length"
      +    ],
      +    "title": "FieldSpec",
      +    "type": "object"
      +  }
      +}
    • removedOutput schema / additionalProperties
      Removed value: -true
    • addedOutput schema / anyOf
      Added value: +[
      +  {
      +    "description": "What the carrier needs for one (country, number type, subject type),\nas the public API shows it: without the carrier's name.",
      +    "properties": {
      +      "address_required": {
      +        "default": false,
      +        "description": "True when an address must be collected.",
      +        "title": "Address Required",
      +        "type": "boolean"
      +      },
      +      "country_code": {
      +        "description": "ISO alpha-2 country code.",
      +        "title": "Country Code",
      +        "type": "string"
      +      },
      +      "documents": {
      +        "default": [],
      +        "description": "Documents to collect. Skip slots with `needs_input` false.",
      +        "items": {
      +          "$ref": "#/$defs/DocumentSlot"
      +        },
      +        "title": "Documents",
      +        "type": "array"
      +      },
      +      "fields": {
      +        "default": [],
      +        "description": "Values to collect about the person or business.",
      +        "items": {
      +          "$ref": "#/$defs/FieldSpec"
      +        },
      +        "title": "Fields",
      +        "type": "array"
      +      },
      +      "number_type": {
      +        "description": "'local', 'mobile', 'toll_free', or 'national'.",
      +        "title": "Number Type",
      +        "type": "string"
      +      },
      +      "required": {
      +        "description": "False when the carrier needs no verification for this combination.",
      +        "title": "Required",
      +        "type": "boolean"
      +      },
      +      "subject_type": {
      +        "description": "'person' or 'business'.",
      +        "enum": [
      +          "person",
      +          "business"
      +        ],
      +        "title": "Subject Type",
      +        "type": "string"
      +      },
      +      "subject_types": {
      +        "default": [],
      +        "description": "Subject types the carrier accepts here, so you can offer the choice.",
      +        "items": {
      +          "enum": [
      +            "person",
      +            "business"
      +          ],
      +          "type": "string"
      +        },
      +        "title": "Subject Types",
      +        "type": "array"
      +      }
      +    },
      +    "required": [
      +      "country_code",
      +      "number_type",
      +      "subject_type",
      +      "required",
      +      "fields",
      +      "documents",
      +      "address_required",
      +      "subject_types"
      +    ],
      +    "title": "VerificationRequirements",
      +    "type": "object"
      +  },
      +  {
      +    "properties": {
      +      "error": {
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "error"
      +    ],
      +    "type": "object"
      +  }
      +]
    • removedOutput schema / title
      Removed value: -"get_verification_requirements_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 / number_type / description
      Previous value: -"Kind of phone number: a local or mobile number, a national number (non-geographic), or a toll-free number."New value: +"The kind of number this registration covers. Copy it from the offer in ``quote_numbers`` or the number in ``list_numbers``."
  5. First observed

TDQS

A4.2/5.0
Behavior5/5

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

Beyond the readOnly/idempotent/non-destructive annotations, the description discloses real behavioral consequences: local 10DLC fees at submission, carrier review, and monthly after approval; toll-free verification is free and sends no identity code; required=false predicts submission failure; upstream failures return an error. This is substantive operational context an agent cannot get from annotations alone.

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?

Purpose is front-loaded in the first sentence, and the routing details follow logically. It is dense but nearly every sentence carries operational information; the fee-schedule sentence is the most tangential, though it justifies itself by telling the agent what submission will cost.

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 7-parameter read tool with an output schema, this covers routing, edge cases (evidence upload workaround, needs_input=false slots, UTF-16 length), and failure behavior. It returns ``required``, ``fields``, ``documents`` and ``address_required`` but defers detail to the output schema, which is acceptable. Minor gap: no explicit statement of which sibling to call next (submit_verification).

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 coverage is 100%, so baseline is 3, but the description adds meaningful semantics: number_id is required for toll-free and per-number verification, country/type/purpose combinations map to specific registration routes, and the personal route availability depends on country and business tax status. Choice fields accept comma-separated keys bounded by min_choices and max_choices, and max_length counts UTF-16 code units.

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?

The opening sentence gives a specific verb and resource: 'Read a carrier's current registration fields, documents and address requirements.' That is enough to distinguish it from status-oriented siblings like get_verification or check_verification, though no sibling is named explicitly.

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 gives concrete routing conditions: US local SMS uses purpose=sms, country US, type local; toll-free uses type toll_free with the owned number_id. It also states that required=false means a submission would fail, and points to create_file_upload when no evidence URL exists. It does not explicitly say when to call this versus get_verification, nor does it state a workflow position.

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.