Skip to main content
Glama

Get rental codes

sms_rental_get_codes
Read-only

Rented SMS numbers. List the SMS messages received on a rented number. Poll periodically; new messages arrive over the lifetime of the rental.

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": {
      "rental_id": "<rental_id>"
    },
    "name": "sms_rental_get_codes"
  }
}

Input Schema

NameRequiredDescriptionDefault
last_idNoPagination cursor (UUID) — the id of the last item from the previous page
per_pageNo
rental_idYesRental id (UUID) returned by sms_rental_buy_number

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, so safety is covered. The description adds one genuinely useful behavioral fact — the result set grows over the rental lifetime, motivating polling — but says nothing about rate limits, whether polling costs credits, or how pagination behaves across polls.

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?

Three short sentences, front-loaded with the core action and followed by the polling advice. The leading fragment 'Rented SMS numbers.' is close to redundant with the rest and is the only wording that doesn't earn its place.

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 simple read tool with an output schema that already describes return values, the description covers the essentials: what is listed, the scoping to a rental, and the temporal/polling nature of results. The main omission is how to use last_id to fetch only new messages across polls.

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 67%: rental_id and last_id are documented in the schema, while per_page is bare. The description does not mention any parameter, pagination cursor behavior, or result limits, so it adds no meaning beyond the schema — baseline 3 applies since the schema does most of the work.

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 description uses a specific verb and resource: 'List the SMS messages received on a rented number.' The phrase 'rented number' implicitly separates it from the activation siblings (sms_activation_get_code), but it never names the alternative explicitly, so sibling differentiation is left partly to inference.

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?

It gives real usage guidance: 'Poll periodically; new messages arrive over the lifetime of the rental,' which tells the agent this is a repeated-read tool rather than a one-shot fetch. It stops short of saying when to prefer it over the activation counterpart or when not to poll, so no exclusions are provided.

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.