Skip to main content
Glama

Mailrun Agent Identity

Get phone

get_phone
Read-onlyIdempotent

The identity's number and voice, or status provisioning/failed while a provision is in flight or refused (with a receipt). phone_not_provisioned when it has none.

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": {
      "identity_id": "<identity_id>"
    },
    "name": "get_phone"
  }
}

Input Schema

NameRequiredDescriptionDefault
identity_idYesIdentity id from list_identities.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3/5.0
Behavior4/5

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

Beyond the read-only annotations, the description adds useful behavioral detail: it discloses possible in-flight/failed provisioning statuses, mention of a receipt, and the phone_not_provisioned case when no number exists. This is meaningful edge-case context for a simple read operation.

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 definition is short and avoids wasted exposition, but its structure is awkward: it begins with a noun phrase and reads as an incomplete sentence. The status and edge-case information is present but not cleanly front-loaded.

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 one-parameter read-only tool with no output schema, the description gives some return context such as provisioning statuses and phone_not_provisioned. However, the phrase 'number and voice' remains ambiguous, and the returned shape is only partially described.

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?

The input schema fully documents identity_id as coming from list_identities, so the baseline is 3. The description does not add further meaning about the parameter beyond what the schema already provides.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description implies retrieval of an identity's phone number and voice, plus provisioning status, but it is written as a sentence fragment without a clear verb. It does not explicitly distinguish this read operation from sibling tools such as provision_phone or release_phone.

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

Usage Guidelines2/5

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

There is no explicit when-to-use guidance or comparison to alternatives. The agent must infer that this tool is for checking phone status after provisioning, rather than being told when to select it over related tools.

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.

Resources