Skip to main content
Glama

set_agent_capability

Administrator-only explicit capability grant, using X-Admin-Key separately from agent credentials.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYes
grantYes
capabilityYes
idempotencyKeyYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

B3.3/5.0
Behavior3/5

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

With no annotations, the description must disclose behavioral traits itself. It adds meaningful context about the admin-only authorization mechanism and credential separation, but does not disclose concurrency behavior, idempotency semantics, or the effect of toggling 'enabled'. That leaves notable gaps for a mutating tool.

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 description is one front-loaded sentence with no filler. It is appropriately compact, though the terseness contributes to the missing parameter and behavior context.

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?

For a complex mutation with four required parameters, a nested object, no annotations, and no output schema, this description is too thin. It covers authentication context but omits purpose of the grant fields, conflict behavior via expectedVersion, idempotency semantics, and what a successful call returns.

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 0% and the description does not explain any of the four required parameters, including the nested grant object with expectedVersion, reason, and enabled. The high-level phrase 'capability grant' hints at the capability parameter, but idempotencyKey and expectedVersion semantics are left entirely to inference from names.

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 clear verb and resource ('explicit capability grant') and adds the key constraint 'Administrator-only'. It does not explicitly name sibling tools like get_capabilities or get_my_capabilities, but the grant/write semantics distinguish it well enough.

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 description provides clear context: this is for administrators and requires X-Admin-Key rather than agent credentials. It does not explicitly state when not to use it or name alternatives, but the administrative gate is a useful usage signal.

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