Skip to main content
Glama

The-Y CRM

Phone number: set destination

set_number_destination
DestructiveIdempotent

Sets where calls to a number go: extension, ring group, queue, voicemail, menu, announcement, phone hours or hang up. Forwarding outside only in the app.

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": {
      "number": "<number>",
      "destination": "<destination>"
    },
    "name": "set_number_destination"
  }
}

Input Schema

NameRequiredDescriptionDefault
numberYesPhone number (+…) or its ID
destinationYesDestination for calls

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true, idempotentHint=true and openWorldHint=false, so the agent knows this overwrites state and is repeatable. The description adds the destination taxonomy and the useful limitation that forwarding outside the system must be done in the app, but it never says whether the existing destination is replaced, what the caller experience change entails, or that permissions are required.

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?

Two sentences, front-loaded with the core action and the full destination list. The second sentence is compressed to the point of being slightly cryptic ('Forwarding outside only in the app'), but no sentence is wasted.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a destructive, idempotent mutation with a nested destination object and no output schema, the description covers what can be set but not what happens to the prior configuration, whether changes apply immediately, or what a successful response confirms. Annotations carry the safety profile, so the remaining gap is moderate rather than severe.

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 the baseline is 3, but the description adds real mapping value by translating enum concepts into human terms (ivr -> menu, time_condition -> phone hours) and by listing exactly which destination kinds exist. It still leaves the ref/type coupling implicit (which types need a ref versus empty for hangup), which the schema only partly covers.

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 and resource ('Sets where calls to a number go') and enumerates all nine destination kinds, so an agent knows exactly what the tool configures. It does not explicitly contrast itself with siblings such as create_ring_group or set_phone_hours, so it stops just short of a 5.

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?

Usage is implied: use it when you want to change a number's call routing, and the enumerated destination types make the relevant scenarios visible. There is no explicit when-not guidance or prerequisite statement, and the trailing note about external forwarding being app-only is a scope caveat rather than routing 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.