Skip to main content
Glama
CTMJSON

ctm-number-provisioner

Official
by CTMJSON

buy_numbers

Purchase CallTrackingMetrics tracking numbers after previewing a dry-run plan; supports exact numbers or area-code selection with quantity.

Instructions

Purchase CTM tracking numbers. Real purchases cost money unless test=True.

ALWAYS call with dry_run=True first (the default), show the user the plan (account name, count, numbers or area code), and get explicit confirmation before calling again with dry_run=False. There is no undo except release_numbers.

Args: phone_numbers: Exact numbers from search_available_numbers. area_code: Let CTM pick numbers in this area code (see quantity). quantity: How many numbers to buy in area_code mode (1-500). test: Buy free test numbers. Default False (real, billable). dry_run: Plan only, no write calls. Default True.

Returns rows with tpn_id; feed those tpn_ids to configure_numbers.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
testNo
dry_runNo
quantityNo
area_codeNo
account_idNo
token_nameNo
phone_numbersNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.8/5.0
Behavior5/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It discloses that real purchases are billable, that test=True avoids charges, that dry_run makes no write calls, that there is no undo except release_numbers, and that the return rows contain tpn_id. This is excellent transparency for a mutating, money-spending tool.

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?

The description is well-structured and front-loaded with the most critical warning and workflow requirement. The Args block is compact and each line adds value. The return-value note is brief and actionable. No sentence is wasted.

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?

Given the tool's complexity, lack of annotations, and lack of output schema, the description is nearly complete: it covers purpose, mandatory dry-run workflow, cost, irreversibility, parameter semantics, and the next step. The only notable gaps are the undocumented account_id and token_name parameters, which prevent a perfect score.

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 description coverage is 0%, so the description must compensate. It adds meaningful semantics for phone_numbers, area_code, quantity, test, and dry_run, including the 1-500 range, the mode distinction, and the exact source for phone numbers. However, account_id and token_name are not explained at all, which is a noticeable gap given the schema provides only titles and defaults.

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?

The description opens with a specific verb and resource: 'Purchase CTM tracking numbers.' It clearly distinguishes this from sibling tools by positioning it as the purchasing step, and even references the downstream configure_numbers and the undo path release_numbers. The cost warning ('Real purchases cost money unless test=True') further clarifies the tool's real-world effect.

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

Usage Guidelines5/5

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

The description gives explicit, actionable usage rules: ALWAYS call with dry_run=True first, show the user the plan, and get explicit confirmation before dry_run=False. It also explains the relationship to search_available_numbers and configure_numbers, and names release_numbers as the only undo path. This is model behavior for guiding an agent through a high-stakes workflow.

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