Skip to main content
Glama

Charter: rent a machine by the hour

Read a Charter lease

charter_lease
Read-only

Free. The state of any lease opened through the door, by its id: running, done or closed, the time paid through, a home's SSH address once the host has published it (access.ssh: ssh -p tenant@), and a finished job's output (a Python job's stdout, stderr and exit code, or a fetch job's page text). Whoever holds the leaseId can read 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": {
      "leaseId": "<leaseId>"
    },
    "name": "charter_lease"
  }
}

Input Schema

NameRequiredDescriptionDefault
leaseIdYesthe 32 hex character leaseId the rent call returned

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnlyHint and openWorldHint, but the description adds real context on top: it is free, it is readable by any holder of the leaseId, and it spells out exactly which fields come back (status, paid-through time, SSH endpoint format, job stdout/stderr/exit code or fetched page text). What it omits is failure behavior for unknown, expired, or wrong-owner ids, which matters for a poll-style read.

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?

Cost ("Free") and the core purpose are front-loaded, then details follow in a single dense but orderly sentence. The parenthetical field list is long but each clause carries distinct information; a slight trim of the shell-command example would tighten it further.

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-parameter read-only tool with no output schema, the description does the work of explaining the return payload rather than leaving the agent guessing. It falls just short of complete because edge cases (invalid id, closed-vs-expired leases, output size limits) are unaddressed.

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?

With one required parameter at 100% schema coverage, the schema already carries the 32-hex pattern and the "returned by rent" origin. The description's "by its id" and the holder-only access note add only marginal meaning beyond that, so the baseline 3 applies.

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 state of any lease opened through the door, by its id" gives a specific resource (lease) and what is returned (state), and the enumeration of running/done/closed plus paid-through time and job output pins down the payload. It reads clearly apart from charter_offers and charter_how_to_rent, though it never explicitly contrasts itself with the similarly named charter_grant_status.

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 only implied: the schema note that leaseId is "the leaseId the rent call returned" suggests calling this after a rent, and "Whoever holds the leaseId can read it" sets an access precondition. There is no explicit when-to-use/when-not guidance, no mention of polling cadence, and no stated alternative for looking up leases you don't hold the id for.

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.