Skip to main content
Glama

Add an approver

gate_add_approver

Create an approver key for the person who approves held actions (shown once), before granting approval actions. Give it to that person, never to an agent. Only an active approver key can approve, reject or reopen actions.

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": {
      "project_id": "<project_id>",
      "admin_key": "<admin_key>",
      "name": "<name>"
    },
    "name": "gate_add_approver"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYesWho approves, e.g. "Dana (support lead)"
admin_keyYesThe project admin key (ga_...). Read it from the .env; never print it.
project_idYesThe project id from gate_create_project, e.g. p1a2b3...

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior5/5

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

Annotations declare a non-read-only, non-idempotent, open-world write, but they cannot convey that the key is revealed only once or that only an active key can approve, reject or reopen actions. The description supplies both, plus the handling rule about never giving the key to an agent. That is exactly the behavioral context an agent cannot infer from structured fields.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three short sentences, each load-bearing: what is created, the prerequisite ordering, and the handling constraint. The most consequential fact (shown once) is placed early rather than buried.

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 three-parameter mutation with full schema coverage and no output schema, the only missing piece would be the return value, and 'shown once' effectively tells the agent the key comes back in the response and will not be retrievable. Nothing needed to call it correctly is absent.

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 coverage is 100% and each parameter already carries a description (name, admin_key, project_id with its origin tool). The description adds no parameter-level meaning such as reuse rules for name or how admin_key scope affects the created key, so the 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?

States a specific verb and resource: create an approver key for the person who approves held actions. Scope is narrowed further by 'shown once' and by the role restriction, so an agent knows exactly what artifact this produces. It doesn't name a sibling to contrast with, but no sibling in the list is close enough to be confusable.

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?

'before granting approval actions' gives an explicit ordering condition, and 'Give it to that person, never to an agent' is a hard exclusion that prevents a real misuse. There is no mention of an alternative tool for related setup steps, so it falls short of full when/when-not routing.

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