Skip to main content
Glama

check_action

Before a consequential action, ask whether the user's rules auto-approve it. Returns auto_approve, needs_approval (with a plain-English approval card and a link the user can tap) or deny. Free plan is watch-only: it reports what it WOULD decide and logs it for the weekly report, but nothing counts as approved, so ask your user as you normally would.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
actionYesThe action your agent wants to take.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does well: it discloses the three return verdicts, the shape of the approval card/link, and a non-obvious side effect (free plan logs the check for the weekly report) plus the critical caveat that on free plans nothing is ever actually approved. It does not explicitly state that the call itself performs no mutation, but the wording strongly implies a read-only check.

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 sentences, front-loaded with the trigger and purpose, then outcomes, then the free-plan constraint. No filler; each sentence contributes distinct information.

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?

There is no output schema, so the description correctly compensates by naming the return values and the free-plan behavior. For a single nested-object parameter, this is nearly complete, though it could have clarified how this differs from retrieving decisions via get_decision.

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%, including per-field descriptions for type, target, summary, amount_usd and reversible, so the schema already does the heavy lifting. The description adds the notion that the action must be 'consequential' but no additional per-parameter semantics, 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 states a specific verb and resource: ask whether the user's rules auto-approve a given action, and it enumerates the three possible verdicts. It is clearly not set_rules or get_rules, but it never distinguishes itself from the similar-sounding sibling get_decision, leaving relationship ambiguity.

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 gives a clear trigger ('before a consequential action') and an explicit fallback rule under the free plan ('ask your user as you normally would'). It stops short of naming when not to call it or pointing to get_decision as the alternative for retrieving existing decisions.

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