Skip to main content
Glama

Roles: get

manage_roles_get
Read-onlyIdempotent

One role in full: per system, none, all or chosen tables, and column limits. Reads Junction's own settings for this company, only what this person may see in the Junction portal. Company administrators only. Never pass a password, key or token; anything that needs one is done in the portal.

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": {
      "id": "<id>"
    },
    "name": "manage_roles_get"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesthe role id from roles.list

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, closed-world, non-destructive, so the safety profile is covered. Beyond that, the description adds permission scoping (results are filtered to what the viewer may see), an admin-only restriction, and a hard credential constraint with a redirect to the portal. The main gap is that it never states what happens when the id is unknown or the caller lacks admin rights.

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?

Three compact sentences, front-loaded with what the tool returns before moving to scope and constraints. Every clause carries information. The final clause about passwords and tokens is slightly tangential to the read operation but still earns its place as a guardrail.

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?

There is no output schema, so the description does real work by sketching the return shape — per-system access levels and column limits — which is exactly what an agent needs to know. Combined with the permission and admin caveats, this covers a simple one-parameter read well. Only the error/not-found behavior is left unaddressed.

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?

With a single parameter at 100% schema coverage, the schema already explains `id` as the role id from roles.list, and the description adds nothing further about it. The descriptive detail about tables and column limits describes the return payload rather than the input, which is useful but doesn't deepen parameter semantics. Baseline 3 applies.

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 states a specific action on a specific resource — retrieving one role's full definition — and enumerates what that definition contains (per-system access set to none, all, or chosen tables, plus column limits). It is clearly a single-item read, implicitly contrasted with the plural `manage_roles_list` referenced in the id parameter. It stops short of explicitly naming siblings to distinguish itself from, so it lands at 4 rather than 5.

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?

It gives concrete operating context: the data is Junction's own settings for this company, scoped to what the requesting person may see in the portal, and the caller must be a company administrator. That tells an agent both when the call is applicable and who can make it. What's missing is explicit routing — nothing says to use `manage_roles_list` first to obtain the id or when to prefer a different detail tool.

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