Skip to main content
Glama

Send delivery method verification code

stack_send_verification_code

Send a verification code to an unverified delivery method. Calls from MCP and API-key sessions require human approval. When human approval is required and the chat client supports MCP elicitation, the person is asked to confirm the exact change in the client; the change is applied only after they approve, and a rejection changes nothing. Otherwise it returns GOVERNANCE_APPROVAL_REQUIRED with approval_id and approval_url, the page for that one approval, and the same payload sent with governance_approval_id after approval applies the change. An approval is single-use, bound to the exact payload, and expires after 24 hours.

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": {
      "destination_id": "<destination_id>"
    },
    "name": "stack_send_verification_code"
  }
}

Input Schema

NameRequiredDescriptionDefault
destination_idYesDelivery method ID to verify
governance_approval_idNoApproval id (gvr_*) from a GOVERNANCE_APPROVAL_REQUIRED response, after a human approved it in the dashboard

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior4/5

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

Annotations only declare readOnlyHint=false and destructiveHint=false; the description goes well beyond them by disclosing that MCP/API-key sessions require human approval, the elicitation flow, the GOVERNANCE_APPROVAL_REQUIRED fallback with approval_id/approval_url, and that approvals are single-use, payload-bound, and expire in 24 hours. It does not say what a successful send returns (code lifetime, delivery channel), which is the main remaining gap.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The purpose is front-loaded in the first sentence, but the second half is one sprawling sentence ('Otherwise it returns ... the page for that one approval, and the same payload sent with governance_approval_id after approval applies the change') that is hard to parse. The content is valuable yet could be restructured into shorter, ordered steps.

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?

With no output schema, the description carries the burden of explaining results, and it does cover the failure path in detail. It is only partly complete because the success outcome (e.g., code sent, delivery method state) is unstated for a tool whose whole job is triggering that side effect.

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 coverage is 100%, so both parameters are already documented in the schema. The description's mention of the approval payload and re-submission echoes the governance_approval_id schema text rather than adding new meaning, so the baseline 3 applies.

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?

States a specific verb ('Send a verification code') and target ('an unverified delivery method'), so the agent knows exactly what the call does. It does not explicitly contrast with the obvious counterpart, stack_verify_delivery_method, so sibling differentiation is implied rather than stated.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The 'unverified delivery method' qualifier gives an implicit precondition for use, and the governance paragraph explains the approval path. However, it never says when to call this instead of stack_verify_delivery_method or stack_test_delivery_method, leaving the agent to infer the sequencing (send code, then verify).

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.