Skip to main content
Glama

Find heroes by role

getListByRole
Read-onlyIdempotent

List Heropedia Hero/Role entries whose Role name matches the supplied regex. Use when you want to inspect Heroes offering a particular Role. Regex is case-insensitive; safe subset only. Returns lightweight metadata.

Input Schema

NameRequiredDescriptionDefault
pageNo
page_sizeNo
role_regexYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnly/idempotent/non-destructive/non-openWorld, so the safety profile is covered. The description adds genuinely new context: the regex is case-insensitive, restricted to a 'safe subset', and results are 'lightweight metadata'. The safe-subset restriction is notable but never specified, and pagination behavior is unmentioned.

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?

Four short sentences, front-loaded with the operation and scope, then usage, then semantics. Slight redundancy between the first sentence and the 'Use when...' sentence, but no wasted verbiage.

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?

With no output schema, the description owes more on return values than 'Returns lightweight metadata'. Pagination guidance (page/page_size interaction with results) and result ordering are absent, leaving the agent with an incomplete picture of what a call yields.

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 0%, so the description carries the burden. It meaningfully enriches the key required parameter (case-insensitive regex, safe subset), but says nothing about page/page_size — those are only self-documenting via schema defaults and bounds. Partial compensation only.

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+resource ('List Heropedia Hero/Role entries') and constrains scope to entries whose Role name matches a regex, which implicitly separates it from getListByHero. It never names a sibling explicitly, so an agent must infer the distinction from the 'Role' filter alone.

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?

Gives a clear when-to-use: 'Use when you want to inspect Heroes offering a particular Role.' No exclusions or named alternatives (getList, getListByHero) are given, so the routing decision is left partly to inference.

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.