Skip to main content
Glama
virtualsms-io

VirtualSMS MCP Server

Cancel Rental

virtualsms_cancel_rental
DestructiveIdempotent

Cancel a rental for a full refund. Only eligible within 20 minutes of purchase AND before any SMS has been received. Works for either tier. Past that window a rental runs to its natural expiry.

Instructions

Cancel a rental for a full refund. Only eligible within 20 minutes of purchase AND before any SMS has been received. Works for either tier. Past that window a rental runs to its natural expiry.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
rental_idYesRental ID to cancel

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.3.2

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and idempotentHint=true, so the description adds context beyond that: full refund, time window, and SMS condition. It does not contradict any annotation. The added specificity about refund and eligibility is valuable, though it doesn't mention failure modes or exact return shape, which is minor given the simple operation.

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 three sentences, front-loaded with the core action and outcome, then adds eligibility constraints. Every sentence carries essential information, and there is no fluff. It is concise and well-structured.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a single-parameter mutation tool without an output schema, the description provides enough context: what it does, when it's valid, and what the result is (full refund). The annotations cover the destructive nature. No critical information is missing for an agent to invoke it correctly.

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 schema has one parameter (rental_id) with a clear description, and schema coverage is 100%. The tool description adds no additional parameter-specific detail, such as format or validation. Per the rubric, with high schema coverage, a baseline of 3 is appropriate.

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 clearly states the action (cancel), the resource (a rental), and the outcome (full refund). It also includes specific eligibility conditions, distinguishing it from sibling tools like cancel_order or cancel_all_orders by focusing on rentals. This is a specific, unambiguous purpose statement.

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 explicitly states when to use the tool (within 20 minutes, before SMS received) and when not to use it (past that window, it runs to expiry). It also notes it works for either tier, giving clear context. No alternative tools are named, but the when/when-not guidance is sufficient.

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