Skip to main content
Glama

x402_rickmorty_get_v1_location_id

Fetch a single Rick and Morty location by its ID, returning name, type, dimension, and residents for TV reference data or demo content.

Instructions

rickmorty — Rick and Morty API: characters, locations, episodes with images, origins, episode lists. Use when an agent needs TV reference data or demo content. [GET /v1/location/{id}] $0.005 USDC on eip155:8453+137+42161+480. Example: /v1/location/1

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "x402_rickmorty_get_v1_location_id"
  }
}

Input Schema

NameRequiredDescriptionDefault
bodyNoJSON body for POST/PUT/PATCH/DELETE
queryNoQuery parameters, e.g. {base:'USD', quote:'EUR'}
restartNoExplicitly re-run a previously failed/unknown operation. Never set for unknown outcomes unless you know the paid call did not complete.
operationIdNoDurable operation id for this intent. Supply a stable id (e.g. your job/run id) to dedupe retries; omit to derive one from the arguments.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.1

TDQS

A3.6/5.0
Behavior3/5

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

With no annotations, the description carries the full burden, and it does disclose the crucial behavior for this class of tool: the call costs $0.005 USDC and settles on four named chains (eip155:8453/137/42161/480). It says nothing about what happens when payment fails, whether a failed paid call is retried or refunded, or how `operationId`/`restart` interact with billing — the exact behavior an agent most needs before spending money.

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 tight fragments: API scope, usage cue, then machine-readable route/price/example. Front-loading and bracket formatting make the routable facts scannable. The only slack is the API-wide first sentence, which spends words on characters and episodes that this tool does not return.

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 by-id read with no output schema, the definition supplies route, example, price, chains, and a usage cue — enough for an agent to call it correctly and know the cost. The gap is return shape: "with images, origins, episode lists" hints at payload richness but never states what a location record contains, and there is no output schema to fall back on.

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 coverage is 100% on the four declared parameters, so the baseline is 3; the description earns an extra point because the path parameter `{id}` is not present anywhere in the schema's properties, and the route template plus `/v1/location/1` example are the only indication of where that id is supplied. It adds no further semantics on `restart` or `operationId`, but those are already documented in the schema.

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 endpoint tag `[GET /v1/location/{id}]` plus the example `/v1/location/1` make it unambiguous that this is a single-location lookup by id, which distinguishes it from the sibling character and episode variants. The opening sentence, however, describes the whole Rick and Morty API surface (characters, locations, episodes) rather than this tool specifically, so the precise purpose only lands via the bracketed route.

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?

"Use when an agent needs TV reference data or demo content" gives a plausible when-to-use condition, which is more than most paid-proxy tools offer. It stops short of routing guidance: nothing says to pick this over `x402_rickmorty_get_v1_character_id` or the list endpoint `x402_rickmorty_get_v1_character` when the agent has a name rather than an id.

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

Deploy Server

Other Tools