Skip to main content
Glama
@dialgem/mcp

@dialgem/mcp

Official
by DialgemAI

Assign number to agent

assign_phone_number

Assign a phone number ID to an agent so it answers inbound calls; pass the ID from list_phone_numbers, not the dialed digits.

Instructions

Make an agent answer inbound calls on a number. Pass the number's id, not the digits.

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": {
      "phone_number_id": "<phone_number_id>",
      "agent_id": "<agent_id>"
    },
    "name": "assign_phone_number"
  }
}

Input Schema

NameRequiredDescriptionDefault
agent_idYesAgent id
agent_versionNoPin a published version; omit for the live draft
phone_number_idYesPhone number id from list_phone_numbers

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare this is a non-read-only, non-destructive, closed-world mutation, so the agent knows the safety profile. The description adds that the effect is inbound-call routing, but omits whether an existing assignment is overwritten, whether the change is reversible, and what errors occur for an invalid id. With annotations carrying the safety profile, this is an adequate but not rich disclosure.

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

Conciseness5/5

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

Two short sentences with the purpose front-loaded and the most common invocation mistake immediately after. No wasted words or hedging.

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 only three fully documented parameters, a present annotation set, and no output schema, the description supplies enough to call the tool correctly. The main residual gap is mutation semantics on reassignment, which is meaningful but minor at this complexity.

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%, including a pointer to list_phone_numbers for phone_number_id and the meaning of agent_version. The description's "pass the number's id, not the digits" reinforces the id semantics but adds little beyond what the schema already states, and it never mentions agent_version. Baseline 3 is appropriate when the schema does the heavy lifting.

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?

"Make an agent answer inbound calls on a number" states a specific effect (binding an agent to a phone number for inbound routing) rather than restating the name. An agent can distinguish this from list_phone_numbers or search_phone_numbers, though it never names the inverse/unassign operation that a sibling might provide.

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 by the inbound-calls framing, and "Pass the number's id, not the digits" steers the caller away from a likely mistake. However, there is no explicit when-to-use vs. alternative guidance, no mention of prerequisites (does the number or agent need to exist in a particular state?), and no note on whether this replaces an existing assignment.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.