Skip to main content
Glama

Create an approver key

gate_create_approver

Approvers are people who decide held actions. Create a dedicated approver key (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 in the dashboard.

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_create_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. Added

TDQS

A4/5.0
Behavior4/5

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

Annotations declare a non-read-only, non-idempotent, non-destructive write, and the description materially adds to that: the key is 'shown once', it must be handed to a human rather than an agent, and only an active approver key can approve/reject/reopen. It does not cover edge behavior such as duplicate names or what the response payload contains, which is why it is not 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.

Conciseness5/5

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

Three short sentences: definition of the domain object, the action with the one-time-secret caveat, then the authorization consequence. Every sentence carries information an agent needs and the key caveat is front-loaded.

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 credential-minting write tool with no output schema and full schema coverage, the description supplies the essential context: the secret is displayed only once and must go to a human. It leaves minor gaps (response shape, handling of an existing approver with the same name) but nothing that would cause an incorrect call.

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%, so name, admin_key and project_id are already documented with examples and sourcing instructions in the schema. The description adds no parameter-level meaning beyond that, so the baseline of 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?

The description names a specific verb and resource ('Create a dedicated approver key') and defines the domain object ('Approvers are people who decide held actions'), so an agent can tell what is being produced. It does not explicitly contrast with siblings such as gate_revoke_approver or gate_list_approvers, so it stops short of full sibling differentiation.

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?

It states the ordering condition ('before granting approval actions') and a hard exclusion ('give it to that person, never to an agent'), which is real when/when-not guidance. It does not name alternatives for adjacent needs (listing or revoking approvers), leaving the agent to infer them from sibling names.

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