Skip to main content
Glama

Get role

get_role
Read-onlyIdempotent

One role's title, description and instructions. Acting as it: follow them.

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": "<role>"
    },
    "name": "get_role"
  }
}

Input Schema

NameRequiredDescriptionDefault
roleYesRole name (list_roles).
project_idNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • removedInput schema / properties / project_id / description
      Removed value: -"Workspace to work in (from list_projects). Leave out for the default one."
    • changedInput schema / properties / role / description
      Previous value: -"The role's name (from list_roles), e.g. 'manager'."New value: +"Role name (list_roles)."
  2. First observed

TDQS

C2.8/5.0
Behavior3/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive, closed-world), so the bar is lower. The description does add one genuinely useful non-obvious trait — that the returned instructions are meant to be adopted as the agent's behavior — but says nothing about empty results, permissions, or how role names are matched.

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?

Two short sentences, front-loaded with the returned fields and nothing superfluous. The terseness borders on fragmentary ("Acting as it: follow them"), but no sentence wastes space.

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?

For a simple two-parameter read with no output schema, the description usefully states which fields come back and how to use them. However, the unexplained project_id and the lack of any note about missing/unknown roles leave gaps an agent would hit in practice.

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

Parameters2/5

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

Schema description coverage is only 50%: role is documented (pointing at list_roles) while project_id is completely undefined in both schema and description. The description text adds no parameter meaning at all, so it fails to compensate for the uncovered parameter.

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 names the resource (one role) and enumerates what it returns (title, description, instructions), which distinguishes it from list_roles, but the verb is only implied — nowhere does it say it retrieves/fetches. An agent can guess this is a single-item lookup, but the phrasing describes the payload rather than the operation.

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?

"Acting as it: follow them" gives post-retrieval behavior but no when-to-use guidance versus list_roles or any other sibling, and no conditions or prerequisites. The project_id parameter's role in scoping is never discussed, leaving the agent to infer it from the schema alone.

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.