Skip to main content
Glama

Request human approval for a check

request_report_action
Read-onlyIdempotent

request_report_action({"report_id":"","action":"pro"}) Prepare one human approval link for a completed report. Call only when the user asked to connect a repository or use a paid Pro feature. Use report_id from the report URL. For a private repository pass its known owner/name. Limits: only prepares a link. The person chooses whether to approve or pay.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "request_report_action"
  }
}

Input Schema

NameRequiredDescriptionDefault
actionNo
report_idNo
repositoryNoRequested GitHub owner/name, only for repository approval.

Output Schema

NameRequiredDescriptionDefault
urlNo
input_requiredNo
user_next_stepNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • removedInput schema / required
      Removed value: -[
      -  "report_id",
      -  "action"
      -]
    • addedOutput schema / oneOf
      Added value: +[
      +  {
      +    "not": {
      +      "required": [
      +        "input_required"
      +      ]
      +    },
      +    "required": [
      +      "url",
      +      "user_next_step"
      +    ]
      +  },
      +  {
      +    "required": [
      +      "input_required"
      +    ]
      +  }
      +]
    • addedOutput schema / properties / input_required
      Added value: +{
      +  "additionalProperties": false,
      +  "properties": {
      +    "example": {
      +      "additionalProperties": false,
      +      "properties": {
      +        "arguments": {
      +          "type": "object"
      +        },
      +        "name": {
      +          "type": "string"
      +        }
      +      },
      +      "required": [
      +        "name",
      +        "arguments"
      +      ],
      +      "type": "object"
      +    },
      +    "field": {
      +      "type": "string"
      +    },
      +    "message": {
      +      "type": "string"
      +    },
      +    "next_step": {
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "field",
      +    "message",
      +    "example",
      +    "next_step"
      +  ],
      +  "type": "object"
      +}
    • removedOutput schema / required
      Removed value: -[
      -  "url",
      -  "user_next_step"
      -]
  2. Added

TDQS

A4/5.0
Behavior4/5

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

The 'Limits: only prepares a link. The person chooses whether to approve or pay' line adds genuinely useful behavior beyond the annotations: calling does not itself approve, pay, or connect anything, and a human decision follows. That resolves the biggest ambiguity for a read-only, idempotent tool that kicks off an external human workflow.

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?

Short and front-loaded with the outcome, then the call condition, then the limit. The leading JSON invocation snippet is slightly redundant with the schema and consumes space, but it does anchor the report_id convention concisely.

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?

With an output schema present, the description needn't explain return values, and annotations already cover the safety profile. It adequately covers the trigger, the parameter sourcing, and the fact that only a link is produced; only a fuller explanation of the two action modes is 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 only 33% (just repository is documented in-schema), so the description does meaningful work: it says where report_id comes from (the report URL) and when to supply repository (private repos, known owner/name). The enum values approve/pro are shown in the example but their semantics are only loosely implied by 'connect a repository or use a paid Pro feature.'

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 opens with a specific verb and resource: 'Prepare one human approval link for a completed report,' which tells an agent exactly what artifact is produced. It is distinguishable from connect_repo/connect_status through the usage sentence, though no sibling is named explicitly.

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?

'Call only when the user asked to connect a repository or use a paid Pro feature' gives a clear trigger and implicitly an exclusion for the main alternatives. It also routes parameter sourcing ('Use report_id from the report URL'), leaving only a truly explicit 'do not use when...' clause missing.

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.