Skip to main content
Glama
grandMA2 MCP
by drohi-r

approve_skill

Approves a DESTRUCTIVE-scope skill for agent use by setting approved=True, so authorized agents can invoke its playbook only after system-admin review.

Instructions

    Approve a DESTRUCTIVE-scope skill for agent use.

    Sets ``approved=True`` on the named skill.  Once approved, agents
    with sufficient OAuth scope may invoke the skill's playbook.

    This tool requires ``OAuthScope.SYSTEM_ADMIN`` (tier 5 / ``GMA_SCOPE=tier:5``).
    It is the human gate that prevents autonomous DESTRUCTIVE skill promotion.

    Args:
        skill_id: UUID of the skill to approve.
    

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

Input Schema

NameRequiredDescriptionDefault
skill_idYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.1/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does well: it discloses the mutation (approved=True), the required authorization tier, and that this is a human gate against autonomous promotion. It omits whether approving an already-approved skill is idempotent and whether approval can be revoked.

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?

Front-loaded with the action and scope, then the effect, then the authorization requirement — a sensible order. The 'Args:' block echoes a docstring convention and is slightly redundant for a single parameter, but nothing is materially wasted.

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?

For a one-parameter mutation tool, the key agent needs are covered: authorization tier, what changes, and the consequence for agents. An output schema exists so return values needn't be explained; only edge cases like re-approval and revocation are missing.

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

Parameters4/5

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

Schema coverage is 0%, so the description must compensate; the Args section does, documenting skill_id as a UUID of the skill to approve. It adds format and referent meaning beyond the bare 'Skill Id' string property, though it does not describe failure behavior for an unknown UUID.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ('Approve a DESTRUCTIVE-scope skill') and the concrete effect ('Sets approved=True on the named skill'). The scope qualifier and the 'human gate' framing separate it from generic promotion tools like promote_session_to_skill.

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?

It gives a clear prerequisite (OAuthScope.SYSTEM_ADMIN, tier 5) and explains the downstream consequence of approving, which implies when to use it. It does not say when an agent should NOT approve, whether approval is reversible, or name an alternative for non-DESTRUCTIVE skills.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools