Skip to main content
Glama

Check a verification

check_verification
Read-onlyIdempotent

Check a carrier registration form without filing anything.

    This preflight uses the intended registration and its supporting documents
    to check the carrier's current requirements, available credit and duplicate
    registrations. Uploads must belong to this workspace and be less than an hour old.
    Nothing is filed, saved, held or charged, and uploads stay usable.
    Returns ``ok``, ``files`` (slot, upload_id, size_bytes, sha256 per file) and
    ``note``; problems come back as ``problems`` with the field named.
    The carrier runs its own checks at submission.

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>",
      "fields": "<fields>",
      "documents": "<documents>",
      "files": "<files>"
    },
    "name": "check_verification"
  }
}

Input Schema

NameRequiredDescriptionDefault
filesYesOne file per slot being filled, keyed by the matching slot in ``documents``. Upload IDs come from ``create_file_upload`` with purpose ``verification_document`` and last one hour. The inline form suits small files. Each file is at most 10 MiB.
fieldsYesApplicant answers as text, keyed by the field names in ``get_verification_requirements``. Choice fields take comma-separated option keys.
addressNoThe applicant's address. Give it when the requirements include one; otherwise leave it out.
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 number offer this registration lets the user buy: the offer's ``quote_id`` from ``quote_numbers``, the same one used for the requirements. Give it when ``purpose`` is ``number``; leave it out for ``sms``.
documentsYesMap from each needed document slot to ``{option, fields}``, with the option chosen from that slot in the requirements.
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_typeNoWho the registration is for, matching the requirements: the user (``person``) or their company (``business``). It has no default; without it, nothing is sent.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 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 / files / description
      Previous value: -"The document files, one per slot named in ``documents``. Use an upload: the ``id`` from ``create_file_upload`` with purpose ``verification_document``, within an hour of uploading. A very small file can go inline as base64 instead. Each file is at most 10 MiB."New value: +"One file per slot being filled, keyed by the matching slot in ``documents``. Upload IDs come from ``create_file_upload`` with purpose ``verification_document`` and last one hour. The inline form suits small files. Each file is at most 10 MiB."
    • changedInput schema / properties / files / items / anyOf
      Previous value: -[
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "slot": {
      -        "description": "The key in ``documents`` that identifies what this file proves.",
      -        "pattern": "^[A-Za-z0-9_-]{1,64}$",
      -        "type": "string"
      -      },
      -      "upload_id": {
      -        "description": "The ``id`` from ``create_file_upload`` with purpose ``verification_document``.",
      -        "format": "uuid",
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "slot",
      -      "upload_id"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "properties": {
      -      "content_base64": {
      -        "contentEncoding": "base64",
      -        "description": "The complete file for this document slot when supplied inline instead of by upload ID.",
      -        "type": "string"
      -      },
      -      "content_type": {
      -        "description": "File format used to read the document.",
      -        "enum": [
      -          "image/jpeg",
      -          "image/png",
      -          "application/pdf"
      -        ],
      -        "type": "string"
      -      },
      -      "slot": {
      -        "description": "The key in ``documents`` that identifies what this file proves.",
      -        "pattern": "^[A-Za-z0-9_-]{1,64}$",
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "slot",
      -      "content_type",
      -      "content_base64"
      -    ],
      -    "type": "object"
      -  }
      -]New value: +[
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "slot": {
      +        "description": "The key in ``documents`` that identifies what this file proves.",
      +        "pattern": "^[A-Za-z0-9_-]{1,64}$",
      +        "type": "string"
      +      },
      +      "upload_id": {
      +        "description": "The ``id`` from ``create_file_upload`` with purpose ``verification_document``.",
      +        "format": "uuid",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "slot",
      +      "upload_id"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "properties": {
      +      "content_base64": {
      +        "contentEncoding": "base64",
      +        "description": "Bytes of the complete document for this slot, supplied directly in the tool call.",
      +        "type": "string"
      +      },
      +      "content_type": {
      +        "description": "Media type of the actual document. Hail checks it against the file bytes.",
      +        "enum": [
      +          "image/jpeg",
      +          "image/png",
      +          "application/pdf"
      +        ],
      +        "type": "string"
      +      },
      +      "slot": {
      +        "description": "The key in ``documents`` that identifies what this file proves.",
      +        "pattern": "^[A-Za-z0-9_-]{1,64}$",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "slot",
      +      "content_type",
      +      "content_base64"
      +    ],
      +    "type": "object"
      +  }
      +]
    • 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. Changed6 schema fields changed
    • changedInput schema / properties / fields / description
      Previous value: -"Applicant answers keyed by the field names in ``get_verification_requirements``. Choice fields take comma-separated option keys."New value: +"Applicant answers as text, keyed by the field names in ``get_verification_requirements``. Choice fields take comma-separated option keys."
    • changedInput schema / properties / files / items / anyOf
      Previous value: -[
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "slot": {
      -        "description": "The document slot this file fills: a key in ``documents``.",
      -        "pattern": "^[A-Za-z0-9_-]{1,64}$",
      -        "type": "string"
      -      },
      -      "upload_id": {
      -        "description": "The ``id`` from ``create_file_upload`` with purpose ``verification_document``.",
      -        "format": "uuid",
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "slot",
      -      "upload_id"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "properties": {
      -      "content_base64": {
      -        "contentEncoding": "base64",
      -        "description": "The whole file, base64-encoded.",
      -        "type": "string"
      -      },
      -      "content_type": {
      -        "description": "The file's format.",
      -        "enum": [
      -          "image/jpeg",
      -          "image/png",
      -          "application/pdf"
      -        ],
      -        "type": "string"
      -      },
      -      "slot": {
      -        "description": "The document slot this file fills: a key in ``documents``.",
      -        "pattern": "^[A-Za-z0-9_-]{1,64}$",
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "slot",
      -      "content_type",
      -      "content_base64"
      -    ],
      -    "type": "object"
      -  }
      -]New value: +[
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "slot": {
      +        "description": "The key in ``documents`` that identifies what this file proves.",
      +        "pattern": "^[A-Za-z0-9_-]{1,64}$",
      +        "type": "string"
      +      },
      +      "upload_id": {
      +        "description": "The ``id`` from ``create_file_upload`` with purpose ``verification_document``.",
      +        "format": "uuid",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "slot",
      +      "upload_id"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "properties": {
      +      "content_base64": {
      +        "contentEncoding": "base64",
      +        "description": "The complete file for this document slot when supplied inline instead of by upload ID.",
      +        "type": "string"
      +      },
      +      "content_type": {
      +        "description": "File format used to read the document.",
      +        "enum": [
      +          "image/jpeg",
      +          "image/png",
      +          "application/pdf"
      +        ],
      +        "type": "string"
      +      },
      +      "slot": {
      +        "description": "The key in ``documents`` that identifies what this file proves.",
      +        "pattern": "^[A-Za-z0-9_-]{1,64}$",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "slot",
      +      "content_type",
      +      "content_base64"
      +    ],
      +    "type": "object"
      +  }
      +]
    • addedOutput schema / $defs
      Added value: +{
      +  "VerificationCheckFile": {
      +    "description": "One file a verification check read.",
      +    "properties": {
      +      "sha256": {
      +        "description": "sha256 of the file, hex.",
      +        "title": "Sha256",
      +        "type": "string"
      +      },
      +      "size_bytes": {
      +        "description": "Size of the file in bytes.",
      +        "title": "Size Bytes",
      +        "type": "integer"
      +      },
      +      "slot": {
      +        "description": "The document slot.",
      +        "title": "Slot",
      +        "type": "string"
      +      },
      +      "upload_id": {
      +        "anyOf": [
      +          {
      +            "format": "uuid",
      +            "type": "string"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "description": "The upload used for the slot, or null for a `file.<slot>` part.",
      +        "title": "Upload Id"
      +      }
      +    },
      +    "required": [
      +      "slot",
      +      "upload_id",
      +      "size_bytes",
      +      "sha256"
      +    ],
      +    "title": "VerificationCheckFile",
      +    "type": "object"
      +  }
      +}
    • removedOutput schema / additionalProperties
      Removed value: -true
    • addedOutput schema / anyOf
      Added value: +[
      +  {
      +    "description": "Returned by ``POST /verifications/check`` when every local check passes.",
      +    "properties": {
      +      "files": {
      +        "description": "The files the check read, one per slot.",
      +        "items": {
      +          "$ref": "#/$defs/VerificationCheckFile"
      +        },
      +        "title": "Files",
      +        "type": "array"
      +      },
      +      "note": {
      +        "description": "What the check does not cover.",
      +        "title": "Note",
      +        "type": "string"
      +      },
      +      "ok": {
      +        "const": true,
      +        "description": "Always true: a failed check is a 4xx.",
      +        "title": "Ok",
      +        "type": "boolean"
      +      }
      +    },
      +    "required": [
      +      "ok",
      +      "files",
      +      "note"
      +    ],
      +    "title": "VerificationCheckResponse",
      +    "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: -"check_verification_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. Changed4 schema fields 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"
      +  }
      +]
    • changedInput schema / properties / files / items / anyOf
      Previous value: -[
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "slot": {
      -        "pattern": "^[A-Za-z0-9_-]{1,64}$",
      -        "type": "string"
      -      },
      -      "upload_id": {
      -        "format": "uuid",
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "slot",
      -      "upload_id"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "properties": {
      -      "content_base64": {
      -        "contentEncoding": "base64",
      -        "type": "string"
      -      },
      -      "content_type": {
      -        "enum": [
      -          "image/jpeg",
      -          "image/png",
      -          "application/pdf"
      -        ],
      -        "type": "string"
      -      },
      -      "slot": {
      -        "pattern": "^[A-Za-z0-9_-]{1,64}$",
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "slot",
      -      "content_type",
      -      "content_base64"
      -    ],
      -    "type": "object"
      -  }
      -]New value: +[
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "slot": {
      +        "description": "The document slot this file fills: a key in ``documents``.",
      +        "pattern": "^[A-Za-z0-9_-]{1,64}$",
      +        "type": "string"
      +      },
      +      "upload_id": {
      +        "description": "The ``id`` from ``create_file_upload`` with purpose ``verification_document``.",
      +        "format": "uuid",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "slot",
      +      "upload_id"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "properties": {
      +      "content_base64": {
      +        "contentEncoding": "base64",
      +        "description": "The whole file, base64-encoded.",
      +        "type": "string"
      +      },
      +      "content_type": {
      +        "description": "The file's format.",
      +        "enum": [
      +          "image/jpeg",
      +          "image/png",
      +          "application/pdf"
      +        ],
      +        "type": "string"
      +      },
      +      "slot": {
      +        "description": "The document slot this file fills: a key in ``documents``.",
      +        "pattern": "^[A-Za-z0-9_-]{1,64}$",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "slot",
      +      "content_type",
      +      "content_base64"
      +    ],
      +    "type": "object"
      +  }
      +]
    • 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``."
    • changedInput schema / properties / quote_id / description
      Previous value: -"The offer this registration is for: its ``quote_id`` from ``quote_numbers``, the same one used for the requirements. Give it when ``purpose`` is ``number``; leave it out for ``sms``."New value: +"The number offer this registration lets the user buy: the offer's ``quote_id`` from ``quote_numbers``, the same one used for the requirements. Give it when ``purpose`` is ``number``; leave it out for ``sms``."
  5. First observed

TDQS

A4.4/5.0
Behavior5/5

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

Annotations already declare readOnly, idempotent and non-destructive, but the description adds material context beyond them: nothing is 'filed, saved, held or charged,' uploads remain usable afterward, uploads must belong to this workspace and be under an hour old. Those are non-obvious constraints an agent could not derive from the annotations and would otherwise get wrong.

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 the core distinction ('without filing anything') and organized into short, purposeful sentences about inputs, guarantees, and returns. The return-value sentence ('Returns ok, files ... note') is redundant given an output schema exists, costing a bit of space but not obscuring anything.

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 11-parameter, nested-schema tool with annotations and an output schema, the description covers everything an agent needs: what is checked, the upload freshness constraint, the non-mutating guarantee, and what failures look like. The schema and output schema carry the parameter and return detail, so nothing material is missing.

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

Parameters3/5

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

Schema description coverage is 100% and the schema itself is unusually rich (slot keying, quote_id/number_id pairing, purpose semantics), so the baseline is 3. The description adds only the freshness and workspace-ownership constraint on files, which the schema already states, and says nothing extra about fields, documents, or subject_type beyond what the structured data provides.

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 opens with a specific verb and resource ('Check a carrier registration form') and immediately distinguishes itself from the real submission path with 'without filing anything.' It further names what the preflight evaluates (requirements, available credit, duplicate registrations), so an agent can tell it apart from confirm_verification or submit_verification 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?

It clearly establishes the when: a dry-run preflight before the real submission, with the explicit note that 'the carrier runs its own checks at submission' — implying this is not a substitute for filing. It does not name the sibling it replaces (submit_verification) or the prerequisite tool (get_verification_requirements), so the routing is inferable rather than spelled out.

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.