Skip to main content
Glama

Add minutes to the sandbox

brij_sandbox_extend

Over MCP: you pay only the purchase itself, into its escrow. Paid even over MCP, like brij_sandbox_start: retry with the payment.

Add paid minutes to your open sandbox lease

Paid x402 endpoint: $0.03 USDC per minute, like POST /sandbox/start (never waived over MCP). minutes 1 to 60 (one-minute steps: keep a machine open while your owner chats and pay for what you use), a lease is at most 120 minutes in total. Checked before payment (409 lease_too_long, 410 lease_ended); the clock moves only once the payment settled.

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": {
      "lease_token": "<lease_token>",
      "minutes": "<minutes>"
    },
    "name": "brij_sandbox_extend"
  }
}

Input Schema

NameRequiredDescriptionDefault
minutesYesMinutes to add. Price = minutes × 0.03 USDC.
lease_tokenYesThe lease_token returned by POST /sandbox/start (shown once). Also accepted as Authorization: Bearer.
x402_paymentNoOptional: the base64 x402 payment payload (the PAYMENT-SIGNATURE header value), for a client that cannot set _meta["x402/payment"].

Output Schema

NameRequiredDescriptionDefault
okNoExtended.
minutesNoThe lease's total minutes now.
lease_idNoThe lease.
expires_atNoThe new end.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / minutes / minimum
      Previous value: -5New value: +1
  2. Added

TDQS

A3.5/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false, openWorldHint=true, idempotentHint=false and destructiveHint=false, so the mutable, network-touching nature is covered. The description adds substantial context beyond that: $0.03 USDC per minute, pre-payment validation returning 409 lease_too_long or 410 lease_ended, and the guarantee that the clock only advances after settlement. The opening fragment about 'escrow' is opaque and adds noise rather than clarity.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness2/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The text is not front-loaded: it opens with a decontextualized fragment ('Over MCP: you pay only the purchase itself, into its escrow') before reaching the actual purpose, and the parenthetical about keeping a machine open while the owner chats is verbose. The ordering actively impedes a quick read.

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 paid mutation endpoint with an output schema, the description covers pricing, range limits, cumulative lease cap, error codes and settlement timing. Occasional gaps remain around failure/refund handling if payment settles but the lease check fails, and the meaning of the 'escrow' reference.

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 100%, so all three parameters already carry descriptions including the price formula. The description reinforces the 1-60 per-call range and the 120-minute cumulative lease cap, which is real added meaning for the minutes parameter, but nothing is said about lease_token handling or the optional x402_payment parameter beyond what the schema states.

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 sentence 'Add paid minutes to your open sandbox lease' names a specific verb (add) and resource (sandbox lease minutes), and references brij_sandbox_start as the analogous paid flow. It is distinguished from the sibling that creates the lease, but the first two sentences are a confusing fragment about escrow that precedes the actual 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 Guidelines3/5

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

Usage is implied rather than stated: the tool applies to an already-open lease, and the description hints at retry behavior ('retry with the payment') without explaining when to extend versus restart. No explicit alternative or when-not-to-use guidance is given, leaving the agent to infer from the maximum-120-minute rule.

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