Skip to main content
Glama

Get a particular role

get_role_role_id
Read-onlyIdempotent

Retrieve a specific role using its ID to inspect role details for access, seat, or permission decisions.

Instructions

Get a particular role

GET /api/v1/role/{ROLE_ID}

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": {
      "ROLE_ID": "<ROLE_ID>"
    },
    "name": "get_role_role_id"
  }
}

Input Schema

NameRequiredDescriptionDefault
ROLE_IDYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.5/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false and openWorldHint=true, so the safety profile is fully covered structurally. The description adds nothing beyond a raw endpoint path: no note on error behavior for a missing/invalid ROLE_ID, no pagination or payload hints, and no indication of permission requirements despite openWorldHint implying remote access.

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

Conciseness3/5

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

It is short and front-loaded, which is good, but the first line simply duplicates the title and the second line is a bare REST path with no surrounding explanation. Minimal length here reflects under-specification rather than disciplined editing, so the brevity earns only partial credit.

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?

This is a simple single-parameter read with no output schema and no nested objects, so a light description is defensible, but with no output schema the description could at least sketch what a role object contains or what an invalid ID returns. As written, an agent knows the endpoint shape but nothing about the response it will receive.

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 0%, so the description must carry the burden, but the path template 'GET /api/v1/role/{ROLE_ID}' does add real meaning: it establishes that ROLE_ID is a path segment identifier for a role resource rather than a query filter or body field. It still says nothing about what a valid role ID looks like or where to obtain one, so it only partially compensates for the coverage gap.

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

Purpose3/5

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

The description states a specific verb and resource ('Get a particular role'), so the basic purpose is unambiguous, but it is a verbatim restatement of the title and tool name with no differentiation from the many sibling getters that fetch other resource types by ID. Nothing distinguishes this role lookup from the surrounding *_id retrieval tools beyond the word 'role' itself.

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?

There is no when-to-use guidance, no mention of when not to use it, and no alternative tool named (e.g., a list-roles sibling or a by-user lookup). The agent must infer that this is the single-record fetch counterpart to whatever listing endpoint exists.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools