Skip to main content
Glama

Get Hero

get_hero
Read-onlyIdempotent

Get full data for a superhero by their numeric ID, including powerstats, biography, appearance, and images.

Example tool call

This call uses example arguments supplied in the tool’s input schema.

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

Input Schema

NameRequiredDescriptionDefault
idYesNumeric superhero ID (1-731)

Output Schema

NameRequiredDescriptionDefault
idYesNumeric superhero ID
nameYesSuperhero name
slugYesURL-friendly slug identifier
workYesWork and occupation details
imagesYesCharacter images in multiple sizes
biographyYesBiography information
appearanceYesPhysical appearance details
powerstatsYesPower statistics
connectionsYesConnections and relationships

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / id / description
      Previous value: -"Numeric superhero ID (1–731)"New value: +"Numeric superhero ID (1-731)"
  2. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "properties": {
      +    "appearance": {
      +      "description": "Physical appearance details",
      +      "properties": {
      +        "eyeColor": {
      +          "description": "Eye color",
      +          "type": "string"
      +        },
      +        "gender": {
      +          "description": "Gender",
      +          "type": "string"
      +        },
      +        "hairColor": {
      +          "description": "Hair color",
      +          "type": "string"
      +        },
      +        "height": {
      +          "description": "Height in different units",
      +          "items": {
      +            "type": "string"
      +          },
      +          "type": "array"
      +        },
      +        "race": {
      +          "description": "Race or species",
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "weight": {
      +          "description": "Weight in different units",
      +          "items": {
      +            "type": "string"
      +          },
      +          "type": "array"
      +        }
      +      },
      +      "type": "object"
      +    },
      +    "biography": {
      +      "description": "Biography information",
      +      "properties": {
      +        "aliases": {
      +          "description": "List of aliases",
      +          "items": {
      +            "type": "string"
      +          },
      +          "type": "array"
      +        },
      +        "alignment": {
      +          "description": "Moral alignment (good, bad, neutral)",
      +          "type": "string"
      +        },
      +        "alterEgos": {
      +          "description": "Alternative identities",
      +          "type": "string"
      +        },
      +        "firstAppearance": {
      +          "description": "First appearance in comics",
      +          "type": "string"
      +        },
      +        "fullName": {
      +          "description": "Full legal name",
      +          "type": "string"
      +        },
      +        "placeOfBirth": {
      +          "description": "Birthplace",
      +          "type": "string"
      +        },
      +        "publisher": {
      +          "description": "Publisher (Marvel, DC, etc.)",
      +          "type": "string"
      +        }
      +      },
      +      "type": "object"
      +    },
      +    "connections": {
      +      "description": "Connections and relationships",
      +      "properties": {
      +        "groupAffiliation": {
      +          "description": "Team or group affiliations",
      +          "type": "string"
      +        },
      +        "relatives": {
      +          "description": "Known relatives",
      +          "type": "string"
      +        }
      +      },
      +      "type": "object"
      +    },
      +    "id": {
      +      "description": "Numeric superhero ID",
      +      "type": "number"
      +    },
      +    "images": {
      +      "description": "Character images in multiple sizes",
      +      "properties": {
      +        "lg": {
      +          "description": "Large image URL",
      +          "type": "string"
      +        },
      +        "md": {
      +          "description": "Medium image URL",
      +          "type": "string"
      +        },
      +        "sm": {
      +          "description": "Small image URL",
      +          "type": "string"
      +        },
      +        "xs": {
      +          "description": "Extra small image URL",
      +          "type": "string"
      +        }
      +      },
      +      "type": "object"
      +    },
      +    "name": {
      +      "description": "Superhero name",
      +      "type": "string"
      +    },
      +    "powerstats": {
      +      "description": "Power statistics",
      +      "properties": {
      +        "combat": {
      +          "description": "Combat stat (0-100 or null)",
      +          "type": [
      +            "number",
      +            "null"
      +          ]
      +        },
      +        "durability": {
      +          "description": "Durability stat (0-100 or null)",
      +          "type": [
      +            "number",
      +            "null"
      +          ]
      +        },
      +        "intelligence": {
      +          "description": "Intelligence stat (0-100 or null)",
      +          "type": [
      +            "number",
      +            "null"
      +          ]
      +        },
      +        "power": {
      +          "description": "Power stat (0-100 or null)",
      +          "type": [
      +            "number",
      +            "null"
      +          ]
      +        },
      +        "speed": {
      +          "description": "Speed stat (0-100 or null)",
      +          "type": [
      +            "number",
      +            "null"
      +          ]
      +        },
      +        "strength": {
      +          "description": "Strength stat (0-100 or null)",
      +          "type": [
      +            "number",
      +            "null"
      +          ]
      +        }
      +      },
      +      "type": "object"
      +    },
      +    "slug": {
      +      "description": "URL-friendly slug identifier",
      +      "type": "string"
      +    },
      +    "work": {
      +      "description": "Work and occupation details",
      +      "properties": {
      +        "base": {
      +          "description": "Base of operations",
      +          "type": "string"
      +        },
      +        "occupation": {
      +          "description": "Primary occupation",
      +          "type": "string"
      +        }
      +      },
      +      "type": "object"
      +    }
      +  },
      +  "required": [
      +    "id",
      +    "name",
      +    "slug",
      +    "powerstats",
      +    "appearance",
      +    "biography",
      +    "work",
      +    "connections",
      +    "images"
      +  ],
      +  "type": "object"
      +}
  3. Changed1 schema field changed
    • addedInput schema / examples
      Added value: +[
      +  {
      +    "id": 1
      +  },
      +  {
      +    "id": 100
      +  }
      +]
  4. First observed

TDQS

A3.7/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint and destructiveHint=false, so the safety profile is fully covered structurally. The description adds the useful fact that the response is a full record spanning four sections, but says nothing beyond that about behavior, and the output schema already documents return values.

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?

A single front-loaded sentence with zero filler; the resource, the lookup key, and the payload contents all appear before any clause that could be trimmed.

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 one-parameter read tool with full annotation coverage, a 100%-documented schema and an output schema, almost nothing is left to the description. The only mild gap is what happens on an unknown ID, which is arguably an error-shape concern rather than a description concern.

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% and the single parameter is fully documented including the 1-731 range and examples, so the schema carries the burden. The description reinforces that the ID is numeric, which is consistent with but not additive to the schema — baseline 3 to 4 territory, credited for confirming lookup semantics.

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 ('Get') and resource ('full data for a superhero') and enumerates the returned sections (powerstats, biography, appearance, images), which implicitly distinguishes it from the narrower siblings get_biography and get_powerstats. It does not name those siblings explicitly, so the differentiation is inferable rather than stated.

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: an agent can deduce 'use this when you want the complete record for one hero.' There is no explicit guidance on when to prefer the full-record call over the narrower get_biography/get_powerstats siblings, and no note on invalid or out-of-range IDs.

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.