Skip to main content
Glama

Allow skill for agent

stack_allow_skill

Add a skill to an agent's allowed_skills list. It needs no approval: the account's own session or key does it directly, and a read-only member may not. It lets the agent invoke that skill when its skill_access_mode is custom.

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": {
      "agent_id": "<agent_id>",
      "skill_id": "<skill_id>"
    },
    "name": "stack_allow_skill"
  }
}

Input Schema

NameRequiredDescriptionDefault
agent_idYesAgent ID
skill_idYesSkill ID to allow
governance_approval_idNoDeprecated and ignored: allowing a skill no longer asks for an approval. Kept so existing callers keep working.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Beyond the annotations (readOnlyHint=false, destructiveHint=false, openWorldHint=false), the description discloses that no approval is required, that the account's own session or key performs the change, and that a read-only member is blocked. That authorization detail is exactly the kind of context annotations cannot express.

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 short sentences with the action stated first, then the approval/auth caveat, then the runtime effect. There is no filler, though the middle sentence packs several distinct claims that could be separated for easier scanning.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a non-destructive mutation tool with full schema coverage and annotations, nothing critical is missing: the effect, the authorization requirement, the no-approval behavior, and the precondition (skill_access_mode custom) are all stated. No output schema exists and none is implied to be needed.

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%, so both required parameters and the deprecated governance_approval_id are already documented in the schema. The description's "needs no approval" line reinforces that deprecated parameter but adds little syntax or format detail beyond what the schema states.

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 first sentence gives a specific verb and resource ("Add a skill to an agent's allowed_skills list"), which is unambiguous and clearly the inverse of a disallow operation. It stops short of naming a sibling to differentiate against, so it lands just below the top mark.

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?

The description gives a real usage condition — the agent can invoke the skill only when its skill_access_mode is custom — which tells the agent when this call matters. It does not explicitly cover when not to use it versus stack_activate_skill or stack_disallow_skill, so guidance is implied rather than enumerated.

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.