Skip to main content
Glama

Get Item

pokeapi_get_item
Read-onlyIdempotent

Get item details by name or numeric ID — effect text, category, versioned purchase and sell prices, fling power, item attributes (holdable, consumable, etc.), sprite URL, and Pokémon that commonly hold 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": {
      "identifier": "<identifier>"
    },
    "name": "pokeapi_get_item"
  }
}

Input Schema

NameRequiredDescriptionDefault
identifierYesItem name (e.g. "Poké Ball", "choice-specs") or numeric ID as a string.

Output Schema

NameRequiredDescriptionDefault
idNoItem ID.
costNoLegacy Pokédollar cost when supplied. Null when unavailable; zero is a literal amount. Independent of versioned prices.
nameNoItem name in hyphenated lowercase.
errorNoPresent when the call failed. Absent on success.
pricesNoAll supplied price records in upstream order. Empty when no records are available.
categoryNoItem category (e.g. "held-items", "medicine").
spriteUrlNoItem sprite URL. Null when no sprite is available.
attributesNoItem attributes (e.g. "holdable", "consumable", "usable-in-battle").
effectTextNoFull English effect description. Null when unavailable.
flingPowerNoFling move base power when this item is flung. Null if not throwable.
heldByPokemonNoPokémon that commonly hold this item in the wild.
shortEffectTextNoShort English effect summary. Null when unavailable.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / identifier / description
      Previous value: -"Item name in lowercase hyphenated form (e.g. \"choice-specs\", \"leftovers\") or numeric ID as a string."New value: +"Item name (e.g. \"Poké Ball\", \"choice-specs\") or numeric ID as a string."
  2. Changed4 schema fields changed
    • changedOutput schema / anyOf
      Previous value: -[
      -  {
      -    "not": {
      -      "required": [
      -        "error"
      -      ]
      -    },
      -    "required": [
      -      "id",
      -      "name",
      -      "category",
      -      "cost",
      -      "flingPower",
      -      "effectText",
      -      "shortEffectText",
      -      "attributes",
      -      "heldByPokemon",
      -      "spriteUrl"
      -    ]
      -  },
      -  {
      -    "required": [
      -      "error"
      -    ]
      -  }
      -]New value: +[
      +  {
      +    "not": {
      +      "required": [
      +        "error"
      +      ]
      +    },
      +    "required": [
      +      "id",
      +      "name",
      +      "category",
      +      "cost",
      +      "prices",
      +      "flingPower",
      +      "effectText",
      +      "shortEffectText",
      +      "attributes",
      +      "heldByPokemon",
      +      "spriteUrl"
      +    ]
      +  },
      +  {
      +    "required": [
      +      "error"
      +    ]
      +  }
      +]
    • changedOutput schema / properties / cost / description
      Previous value: -"Purchase cost in Pokédollars. 0 means not sold in shops."New value: +"Legacy Pokédollar cost when supplied. Null when unavailable; zero is a literal amount. Independent of versioned prices."
    • changedOutput schema / properties / cost / type
      Previous value: -"number"New value: +[
      +  "number",
      +  "null"
      +]
    • addedOutput schema / properties / prices
      Added value: +{
      +  "description": "All supplied price records in upstream order. Empty when no records are available.",
      +  "items": {
      +    "additionalProperties": false,
      +    "description": "One version and currency price record.",
      +    "properties": {
      +      "currency": {
      +        "description": "Currency name for both prices.",
      +        "type": "string"
      +      },
      +      "purchasePrice": {
      +        "description": "Purchase price in this currency and version group. Null means not purchasable; zero is a literal amount.",
      +        "type": [
      +          "number",
      +          "null"
      +        ]
      +      },
      +      "sellPrice": {
      +        "description": "Sell price in this currency and version group. Null means not sellable; zero is a literal amount.",
      +        "type": [
      +          "number",
      +          "null"
      +        ]
      +      },
      +      "versionGroup": {
      +        "description": "Version group these prices apply to.",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "versionGroup",
      +      "currency",
      +      "purchasePrice",
      +      "sellPrice"
      +    ],
      +    "type": "object"
      +  },
      +  "type": "array"
      +}
  3. Changed8 schema fields changed
    • removedOutput schema / properties / effectText / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / effectText / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • removedOutput schema / properties / flingPower / anyOf
      Removed value: -[
      -  {
      -    "type": "number"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / flingPower / type
      Added value: +[
      +  "number",
      +  "null"
      +]
    • removedOutput schema / properties / shortEffectText / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / shortEffectText / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • removedOutput schema / properties / spriteUrl / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / spriteUrl / type
      Added value: +[
      +  "string",
      +  "null"
      +]
  4. Changed6 schema fields changed
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
    • addedInput schema / additionalProperties
      Added value: +false
    • changedOutput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
    • addedOutput schema / anyOf
      Added value: +[
      +  {
      +    "not": {
      +      "required": [
      +        "error"
      +      ]
      +    },
      +    "required": [
      +      "id",
      +      "name",
      +      "category",
      +      "cost",
      +      "flingPower",
      +      "effectText",
      +      "shortEffectText",
      +      "attributes",
      +      "heldByPokemon",
      +      "spriteUrl"
      +    ]
      +  },
      +  {
      +    "required": [
      +      "error"
      +    ]
      +  }
      +]
    • addedOutput schema / properties / error
      Added value: +{
      +  "additionalProperties": {},
      +  "description": "Present when the call failed. Absent on success.",
      +  "properties": {
      +    "code": {
      +      "description": "JSON-RPC error code for this failure.",
      +      "maximum": 9007199254740991,
      +      "minimum": -9007199254740991,
      +      "type": "integer"
      +    },
      +    "data": {
      +      "additionalProperties": {},
      +      "properties": {
      +        "reason": {
      +          "description": "Machine-readable failure mode. Declared by this tool: `not_found`: The identifier resolves to no item in PokéAPI. Other values are possible when a failure originates below the handler.",
      +          "examples": [
      +            "not_found"
      +          ],
      +          "type": "string"
      +        },
      +        "recovery": {
      +          "additionalProperties": {},
      +          "description": "Actionable next step for the caller.",
      +          "properties": {
      +            "hint": {
      +              "type": "string"
      +            }
      +          },
      +          "required": [
      +            "hint"
      +          ],
      +          "type": "object"
      +        },
      +        "retryable": {
      +          "description": "Whether retrying may succeed.",
      +          "type": "boolean"
      +        }
      +      },
      +      "type": "object"
      +    },
      +    "message": {
      +      "description": "Human-readable description of what went wrong.",
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "code",
      +    "message"
      +  ],
      +  "type": "object"
      +}
    • removedOutput schema / required
      Removed value: -[
      -  "id",
      -  "name",
      -  "category",
      -  "cost",
      -  "flingPower",
      -  "effectText",
      -  "shortEffectText",
      -  "attributes",
      -  "heldByPokemon",
      -  "spriteUrl"
      -]
  5. First observed

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, and open-world behavior, so the safety profile is fully covered. The description adds only a content inventory, which largely duplicates the existing output schema, and says nothing about not-found handling, upstream rate limits, or caching — the traits that would actually matter for a live third-party API call.

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?

One front-loaded sentence with the verb and key first, then a comma-separated field list — no filler or hedging. The field enumeration is somewhat redundant given a full output schema, but it remains scannable and cheap.

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 one-parameter lookup with full schema coverage, an output schema, and complete annotations, the description covers the essentials and needs no return-value explanation. The only real gap is error/not-found behavior, which is minor at this complexity level.

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 coverage is 100% and the single `identifier` parameter is documented with format examples, so the schema does the heavy lifting. The description's 'by name or numeric ID' merely restates the schema and adds no new meaning such as case sensitivity, hyphenation rules, or fallback behavior.

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?

States a specific verb and resource ('Get item details') and enumerates the payload (effect text, category, prices, fling power, attributes, sprite URL, holders), so an agent knows exactly what comes back. Differentiation from siblings is implicit through the resource name (item vs. ability/move/nature/pokemon) rather than stated, which keeps it just below a 5.

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: it is a single-record lookup keyed by name or ID, and the schema example ('Poké Ball', 'choice-specs') hints at accepted formats. There is no explicit when-to-use framing, no mention of the find/lookup sibling, and no guidance on what happens for unknown or ambiguous identifiers.

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.