Skip to main content
Glama
@omnidim-ai/mcp-server

@omnidim-ai/mcp-server

by Omnidim

phoneNumberAgentActions

Destructive

Attach a phone number to an agent or detach it from its current agent. Choose the attach or detach action and specify the phone number ID to manage agent-number assignments.

Instructions

Attach a phone number to an agent, or detach it from its agent.

Set action to pick what to do.

attach: Attach a phone number to an existing agent.

detach: Detach a phone number from its agent.

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": {
      "action": "<action>",
      "phone_number_id": "<phone_number_id>"
    },
    "name": "phoneNumberAgentActions"
  }
}

Input Schema

NameRequiredDescriptionDefault
actionYesWhat to do: attach, detach.
agent_idNoOnly for `attach`. ID of the agent to attach the phone number to.
phone_number_idYesID of the phone number to attach.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.26.0

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false and destructiveHint=true, so the write/risk profile is covered. The description adds a meaningful implication — detach removes the agent association rather than the number itself, distinct from release — but says nothing about required permissions, reversibility, or side effects on the agent. That is useful but partial context on top of the annotations.

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?

Short, front-loaded, and logically ordered: summary sentence, then a pointer to `action`, then each branch. The only waste is mild redundancy between the opening sentence and the per-action restatements, which repeat the same information.

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 three-parameter tool with full schema coverage, annotations, and no output schema, the description covers the core action semantics. It leaves open what state the phone number ends up in after detach (unassigned vs. released) and whether attach requires the number to be unassigned first, which matters for correct invocation.

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%, so all three parameters are already documented, including the conditional `agent_id`. The description only mirrors the enum meanings and does not add constraints such as whether `agent_id` should be omitted or null on `detach`. Baseline 3 applies 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?

The first sentence names two specific verbs and the resource: attach/detach a phone number to/from an agent. Each enum branch is restated in plain language, so an agent knows exactly what the tool does. It does not explicitly contrast itself with purchasePhoneNumber or releasePhoneNumber, which is the remaining gap.

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 through the `action` enum and the note that `agent_id` is only for `attach`, which tells the agent how to drive the call. There is no guidance on when to choose this tool over the sibling number-management tools (e.g. purchase vs. attach, detach vs. release), leaving the main selection question unanswered.

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

Deploy Server

Other Tools