Skip to main content
Glama

Preview the Build Envelope as a role

preview_envelope_for_role
Read-only

What a member holding ONE role may build under the organization's Build Envelopes: the envelope that binds the role, and per catalog (models, tools, deployment methods, capabilities, knowledge, plumbing) what is allowed and what is marked or hidden. Administrator only. Read-only.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "preview_envelope_for_role"
  }
}

Input Schema

NameRequiredDescriptionDefault
role_idNoId of the role (from the organization's roles).
role_nameNoOr the role's name, e.g. 'Legal Team'.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false, openWorldHint=false, so the safety profile is covered. The description adds real context beyond that: the admin-only authorization requirement and the fact that results are broken out per catalog with allowed versus marked/hidden states. It does not describe failure behavior for an unknown role, which keeps it from a 5.

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?

The core capability is front-loaded, and the trailing 'Administrator only. Read-only.' fragments are efficient constraint signals. The catalog enumeration is dense but earns its place by telling the agent what the response covers.

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 carries the burden of describing the return shape, and it does so by listing the catalogs and the allowed/marked/hidden distinction. Combined with the admin-only prerequisite, an agent has enough to call it correctly; only the id-versus-name selection ambiguity 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?

Schema description coverage is 100% and both parameters are documented inline, so the baseline is 3. The description reinforces the single-role constraint ('ONE role'), but it does not clarify how role_id and role_name interact given that both are optional, which is the one genuinely ambiguous point for an agent.

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 uses a specific verb ('preview') and resource ('the Build Envelope') scoped to a single role, and enumerates the catalogs covered (models, tools, deployment methods, capabilities, knowledge, plumbing). An agent can tell this is a read-only, single-role projection of effective permissions. It does not name or contrast a sibling (e.g. an org-wide envelope view), so it stops short of a 5.

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

Usage Guidelines3/5

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

Usage is implied by 'What a member holding ONE role may build' plus the 'Administrator only' prerequisite, which tells the agent the caller must be an admin. There is no explicit when-to-use versus when-not, and no named alternative for multi-role or org-wide checks.

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