Skip to main content
Glama

Approve automatic research

approve_research_rule
Destructive

Approves the rule's total spending limit. Rows that qualify later then run with no new approval, until the rule reaches the limit or the expiry.

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": {
      "review_hash": "<review_hash>",
      "confirm_total_cents": "<confirm_total_cents>",
      "rule_id": "<rule_id>"
    },
    "name": "approve_research_rule"
  }
}

Input Schema

NameRequiredDescriptionDefault
rule_idYes
review_hashYes
confirm_total_centsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and openWorldHint=true, and the description adds real value beyond them: this is a spending-limit authorization whose effect persists across future runs and self-terminates at the limit or expiry. It does not say whether the approval can be revoked afterwards or what happens if the rule is later modified, which keeps it out of the top band.

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?

Two short sentences, front-loaded with the action and followed by the lasting effect; no redundant restatement of the title or name.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a destructive, financially committing mutation with three undocumented required parameters and no output schema, the behavioral picture is reasonably complete but the confirmation mechanics are missing. An agent knows what the tool achieves but not how to construct a valid, safe call from the description alone.

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

Parameters2/5

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

Schema description coverage is 0%, so the description must carry the parameter burden, yet it never mentions rule_id, review_hash, or confirm_total_cents. The strict 64-hex review_hash and the apparent confirm-total-must-match semantics are central to invoking this destructive call safely and are left entirely unexplained.

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 ('Approves') and the concrete object ('the rule's total spending limit'), and the second sentence clarifies that this is the durable authorization for automatic rule execution. It is distinguishable from siblings such as patch_research_rule or prepare_research_rule by implication, though it never names them or the 'research rule' resource explicitly.

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?

The description conveys the point of the call (later qualifying rows run without re-approval until the limit or expiry) which indirectly signals when to use it, but it offers no explicit when-not guidance and no comparison to prepare_research_rule, patch_research_rule, or approve_investigation_batch.

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.