Skip to main content
Glama

Check outbound authorization

authorize_outbound
Read-onlyIdempotent

Preflight a call/SMS against the pre-dial gates (allowed|blocked|needs_review) before placing it. For a voice call it asks both questions create_outbound_call meets, in order: the workspace capabilities (destination country -- per-org allowlist plus an always-on high-risk-country hard block -- channel, the custom profile's campaign and batch review, caps), then the per-call policy (suspensions, caller-number readiness). With from_number_id it first asks that number's own Number rules (caller ID allowed, allowed_countries covers the destination; stage outbound_number_rules). stage names the gate that answered. Not a full admission: the number's allowed_agents, concurrency and the wallet reserve are not checked. Read-only; no reserve, charge, or review row is written.

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": {
      "channel": "<channel>"
    },
    "name": "authorize_outbound"
  }
}

Input Schema

NameRequiredDescriptionDefault
toNo
channelYes
countryNoDestination country. Governed by the org's active workspace capabilities, not a fixed platform allowlist.
purposeNoOptional, free-form outbound purpose, recorded when sent; no purpose or token is ever refused. The documented advisory catalog is: appointment, booking_confirmation, callback_requested, customer_outreach, delivery_notification, ops_alert, other, payment_reminder, personal_errand, reservation, status_check, support.
metadataNo
categoriesNo
campaign_idNo
amount_minorNo
phone_numberNo
relationshipNo
from_number_idNo
recipient_typeNoOptional, never enforced or required -- outbound is not restricted to business recipients. Persisted verbatim on the call row if sent; SMS has no recipient_type column, so it is accepted but not stored there.
user_requestedNo
organization_idNoOptional. Defaults to the authenticated workspace; when supplied it must be that workspace's id.
user_authorizationNoOptional: who authorized the call and why ({authorized_by, reason}). Recorded, never required.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / purpose / description
      Previous value: -"Required, free-form outbound purpose declaration -- never refused for being novel. Any non-empty token is accepted; the documented advisory catalog is: appointment, booking_confirmation, callback_requested, customer_outreach, delivery_notification, ops_alert, other, payment_reminder, personal_errand, reservation, status_check, support."New value: +"Optional, free-form outbound purpose, recorded when sent; no purpose or token is ever refused. The documented advisory catalog is: appointment, booking_confirmation, callback_requested, customer_outreach, delivery_notification, ops_alert, other, payment_reminder, personal_errand, reservation, status_check, support."
    • changedInput schema / properties / user_authorization / description
      Previous value: -"Who authorized the call and why ({authorized_by, reason}); for voice, user_requested counts only with one."New value: +"Optional: who authorized the call and why ({authorized_by, reason}). Recorded, never required."
  2. First observed

TDQS

A4.3/5.0
Behavior5/5

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

Beyond readOnlyHint/destructiveHint=false, the description discloses the concrete side-effect profile ("no reserve, charge, or review row is written") and spells out the ordered evaluation path: workspace capabilities then per-call policy, with number-level rules consulted first when from_number_id is supplied. It also discloses the negative space — what is deliberately not evaluated — which is exactly what an agent needs before treating a pass as admission.

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 outcome and the timing, then the gate order, then the caveats — no filler sentences. The middle sentence is heavily nested with parenthetical clauses, and the dangling `stage` reference costs a small amount of clarity.

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 read-only preflight with no output schema, the description tells the agent the three possible verdicts, what is checked, what is skipped, and what has no side effects. Remaining gaps are how most of the 15 inputs influence the verdict and the shape of the returned result beyond the verdict value.

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?

With 15 parameters at 33% schema coverage, the description compensates for only part of the gap: it explains channel branching (voice vs sms), from_number_id's number-rule pre-check, country's tie to workspace capabilities, and campaign/batch review. It says nothing about to vs phone_number, categories, amount_minor, relationship, user_requested, or metadata, and the reference to `stage` as something that "names the gate that answered" is ambiguous since `stage` is not a declared property.

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?

States a specific verb and resource: preflight a call/SMS against the pre-dial gates and return allowed|blocked|needs_review before the message is placed. It is clearly separable from create_outbound_call (which actually places the call) and from evaluate_outbound_policy by naming the exact gate sequence it consults.

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?

Timing is explicit ("before placing it") and the description names the sibling whose questions it answers, create_outbound_call. It also bounds the result with a clear exclusion ("Not a full admission: the number's allowed_agents, concurrency and the wallet reserve are not checked"), which steers the agent toward additional checks, but it never states an explicit when-not-to-use condition.

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.