Skip to main content
Glama

Human Approval Gate

Record Human Approve or Deny Decision

approval_submit_decision

Free single-use endpoint for an authorized reviewer to approve or deny a pending request using its review token and generate a signed decision receipt.

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": {
      "ticket_id": "<ticket_id>",
      "review_token": "<review_token>",
      "decision": "<decision>"
    },
    "name": "approval_submit_decision"
  }
}

Input Schema

NameRequiredDescriptionDefault
noteNoOptional short review note recorded in the receipt.
decisionYesFinal human decision: "approved" or "denied".
ticket_idYesApproval request ID returned by approval_request_signoff (format: hag_<20 hex chars>).
review_tokenYesSingle-use human review token from the approval request (format: arev_*).
decider_labelNoOptional reviewer name or role recorded in the receipt.

Output Schema

NameRequiredDescriptionDefault
okNo

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?

Annotations already declare non-read-only, non-idempotent, closed-world and non-destructive, and the description reinforces the non-idempotent claim by calling the token single-use, while adding real context the annotations lack: authorization requirement, the free/no-cost nature, and that a signed receipt is produced. It does not describe what happens on a reused or invalid token, which is the main remaining behavioral gap.

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?

A single front-loaded sentence that identifies the actor, the action, the credential and the outcome with no filler. It is dense but every clause carries information; a short clause on token reuse would fit without bloat.

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?

With an output schema covering the receipt, full parameter documentation and annotations covering the safety profile, the description only needed to convey authorization, the single-use constraint and the receipt side effect, all of which it does. Nothing essential to invoking it correctly is missing.

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 every parameter including the decision enum and token format is already documented in the schema. The description only restates that a review token is consumed, adding no format, validation or precedence detail beyond the schema, 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?

States a specific verb pair (approve or deny), the resource (a pending request) and the side effect (generating a signed decision receipt), which clearly separates it from read-style siblings like approval_check_status or approval_verify_decision. It stops short of naming the siblings it supersedes, so the distinction must be inferred.

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?

"For an authorized reviewer" and "using its review token" imply the precondition that a token from approval_request_signoff already exists, and "single-use" hints at when-not-to-call (after consumption). There is no explicit statement of when to choose this over approval_verify_decision or approval_cancel_request, so usage is only implied.

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