Skip to main content
Glama

Get Location

get_location
Read-onlyIdempotent

Get a single Rick and Morty location/planet/dimension by ID. Returns name, type, dimension, and residents.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesLocation ID. Example: 1 = Earth (C-137).

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
idNoLocation ID
urlNoAPI URL
hintNoHint message when location not found
nameNoLocation name
typeNoLocation type
foundNoWhether location was found
dimensionNoDimension name
resident_idsNoResident character IDs
resident_countNoNumber of residents

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false, and idempotentHint=true, covering the safety profile. The description adds that the tool returns a single location and lists return fields, which is modest extra context. It does not mention error behavior or rate limits, but given the simple read-only nature, this is acceptable.

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 a single concise sentence, front-loaded with the verb and resource, and includes relevant return fields without any repetition of schema or annotation details. Every word earns 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 straightforward read-only lookup with one parameter, supported by rich annotations and an output schema, the description is largely complete. It could mention not-found behavior, but this is a minor gap for such a simple tool.

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 input schema already fully documents the only parameter 'id' with an example (1 = Earth (C-137)). The description does not add parameter-specific info, but schema coverage is 100%, so the baseline of 3 applies.

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 specifies the operation ('Get a single Rick and Morty location/planet/dimension by ID') and differentiates the tool from siblings like get_character and get_episode. It also lists key return fields (name, type, dimension, residents), making the resource scope explicit.

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?

The description conveys that this tool is for direct single-location lookup by ID, which implies usage context. It does not explicitly state when not to use it or name alternatives, but the presence of sibling search tools (search_characters, search_episodes) makes the distinction clear enough.

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.