Skip to main content
Glama

List a team's roles

team_roles
Read-only

List the roles a team has defined (e.g. "Frontend", "Designer"), which members can be assigned via team_assign_role.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pageNoPage number, starting at 1.
team_idYesId of the team.
page_sizeNoRows per page (max 100).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior3/5

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

The annotations already declare readOnlyHint=true and destructiveHint=false, so the description does not need to restate safety. It adds context about the semantic purpose of the roles, but it does not disclose additional behavioral details such as pagination limits or whether roles are returned in any particular order; this is acceptable given the simple read-only nature.

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?

The description is one concise sentence that states the action, the resource, examples, and a relevant cross-reference to team_assign_role. There is no filler or repetition of schema details.

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 read-only list operation, the description and schema together give enough information to call the tool correctly. It does not describe the return shape, and there is no output schema, but the action is so straightforward that this is a minor gap rather than a correctness issue.

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%, so page, page_size, and team_id are already fully documented in the schema. The description does not add parameter-specific meaning beyond indicating that the listed roles are assignable, which is not necessary for correct invocation.

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 clearly states the tool lists a team's defined roles, with concrete examples, and indicates these roles are the ones used for assignment via team_assign_role. It is unambiguous about the resource and action, though it does not explicitly compare itself to sibling tools like team_open_roles.

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?

The phrase 'roles a team has defined' and the mention that members can be assigned via team_assign_role gives useful context for when to call this tool. It does not explicitly list alternatives or exclusions, but the intended use is clear enough for a simple listing operation.

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