Skip to main content
Glama

Read who answers a number (number rules)

get_number_rules
Read-onlyIdempotent

Read who answers calls to this phone number, and its outgoing and recording rules (Number rules). incoming.when_called is one of answer_with_skysay_agent (with agent_id), send_to_my_phone_server (with phone_server_id), forward_to_phone_number (with phone_number) or disabled (calls are not answered). A number nothing was set for answers with its attached agent, or not at all. update_number_rules changes it.

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_id": "<number_id>"
    },
    "name": "get_number_rules"
  }
}

Input Schema

NameRequiredDescriptionDefault
number_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already cover readOnly/idempotent/non-destructive, and the description adds real domain behavior: the enumerated set of incoming.when_called values with their associated required ids, and the default resolution rule ('A number nothing was set for answers with its attached agent, or not at all'). It does not describe what the outgoing or recording rule objects contain beyond naming them.

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 purpose followed by value semantics and the mutation pointer; every sentence carries information. The parenthetical '(Number rules)' is mild redundancy with the title, and the enum list is dense but justified given there is no output schema.

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 single-id read tool with no output schema, the description does the heavy lifting by documenting the returned decision values and the default behavior. The gap is the identifier itself (where number_id comes from) and any detail on outgoing/recording rule contents.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 0% and the single parameter number_id is never explained in the description: no format, no source (e.g., from get_number_catalog), no note about required-ness. The phrase 'this phone number' gestures at it but adds no usable detail.

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?

Specific verb and resource: 'Read who answers calls to this phone number, and its outgoing and recording rules (Number rules).' It is clearly the read counterpart to update_number_rules, so an agent can distinguish read vs. write without opening a schema.

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?

The closing sentence 'update_number_rules changes it' implicitly routes the agent to the mutation sibling, giving a clear read-vs-change split. It does not spell out explicit when-not conditions or prerequisites, so it stops short of full 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.