Skip to main content
Glama

roles: GET /api/roles

get_roles_eb3c8bbe4bc9aed660477bd6
Read-onlyIdempotent

GET /api/roles. GET /api/roles. Operation ID: eb3c8bbe4bc9aed660477bd6; describe_operation provides native request schemas.

Input Schema

NameRequiredDescriptionDefault
queryNo
paramsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

D1.9/5.0
Behavior2/5

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

Annotations already declare readOnlyHint, idempotentHint, non-destructive, and closed-world, so the safety profile is fully covered. Beyond that the description only says describe_operation supplies native request schemas — no pagination behavior, no result shape, no scope of what roles are returned. It adds almost nothing behavioral.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness2/5

Is the description appropriately sized, front-loaded, and free of redundancy?

It is short, but the identical sentence 'GET /api/roles.' appears twice, and an internal operation ID is surfaced where it adds no decision value. Brevity here comes from under-specification rather than efficiency.

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

Completeness2/5

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

No output schema exists and the parameters are undocumented, so the description needed to explain the query semantics and expected result. Instead it defers entirely to describe_operation, leaving the agent unable to construct a correct query payload from this definition alone.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters1/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

There are two parameters (a free-form 'query' object with additionalProperties and an empty 'params' object) at 0% schema description coverage, so the description carries the full burden of explaining them. Instead it says nothing about query keys, filtering, or pagination — the free-form query object is completely unexplained.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose2/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description is essentially a tautology: it repeats the endpoint 'GET /api/roles' twice and adds only an opaque operation ID. The only real signal comes from the tool name and title, not from the description text, so an agent learns nothing about what a 'role' payload contains or whether this is a list operation with filtering.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It points at describe_operation as the source of native request schemas, which is a minimal routing hint, but there is no statement of when to call this versus siblings like describe_operation, execute_read, or get_roles_by_id. The agent must infer that this lists roles and the *_by_id variant fetches one.

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.

Resources