Skip to main content
Glama

hero_get_by_id

Retrieve a superhero or villain from the comic book database using its character ID for quick lookup and detail access.

Instructions

Get a superhero/villain by ID from the comic book database.

Input Schema

NameRequiredDescriptionDefault
idYesCharacter ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.1.11

TDQS

B3.4/5.0
Behavior3/5

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

No annotations are provided, so the description carries the burden. It adds that the data comes from a comic book database and is a read-style lookup (implied by 'get'), but says nothing about invalid-ID behavior, errors, or rate limits. For a simple keyed getter this is thin but not hazardous.

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?

A single efficient sentence with the key operation and identifier front-loaded. No waste, though it is so terse that it omits context an agent might want.

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

Completeness3/5

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

There is no output schema, so the description could reasonably say what a hero record contains or that it returns the full record, but it does not. For a one-parameter getter the essentials are present, leaving a modest gap around return shape.

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 description coverage is 100%: the single 'id' parameter is documented as 'Character ID' in the schema. The description only restates the ID-based lookup, adding no format, range, or source-of-ID detail beyond the schema. 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 description states a specific verb and resource: fetch a superhero/villain by ID, and names the data source (comic book database). It does not differentiate itself from siblings hero_all and hero_powerstats, which fetch the same resource family differently.

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?

The phrase 'by ID' implies the tool is for lookups when an ID is already known, but there is no explicit statement of when to prefer this over hero_all (to discover IDs) or hero_powerstats (for stats). Usage is only inferred.

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