Skip to main content
Glama

Propose Action & Check Approval

task_propose_action

Classifies proposed task actions by risk and creates an action-scoped approval checkpoint when operations are high-risk or externally visible.

Instructions

Classify action risk and create an action-scoped approval checkpoint when high-risk or externally visible.

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": {
      "task_id": "<task_id>",
      "actionType": "<actionType>",
      "target": "<target>"
    },
    "name": "task_propose_action"
  }
}

Input Schema

NameRequiredDescriptionDefault
argsNoArguments for the proposed action
targetYesTarget selector, label, or element description
task_idYesTask ID
actionTypeYesProposed tool/action type (e.g. "browser_click", "browser_action", "browser_fill")
isExternalNoMark true for externally visible or irreversible actions
session_idNoOptional target browser session ID (defaults to active default session)
expectedOutcomeNoExpected outcome of the action
requiresApprovalNoExplicitly require user approval

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.8.1

TDQS

B3.3/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false and openWorldHint=false, so the safety profile is partly covered, and the description adds the conditional-checkpoint behavior. It still omits what happens on the non-high-risk path, whether the caller must block waiting for approval, and how the checkpoint is later consumed.

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?

One front-loaded sentence with zero filler; the core verb and the conditional scope come first. Its brevity is efficient, though it is thin for a tool of this complexity.

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

Completeness2/5

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

With eight parameters, a nested object, and no output schema, the description carries the burden of explaining the return contract and the approval lifecycle, and it does neither. An agent cannot tell from this text whether a returned checkpoint means 'halt and ask the user', 'proceed', or how to poll approval state.

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 all eight parameters including the nested args object are already documented in the schema. The description adds no meaning about how isExternal, requiresApproval, or expectedOutcome influence classification or checkpoint creation, so the baseline 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 two concrete operations — risk classification and creation of an action-scoped approval checkpoint — so the agent knows this is a pre-execution gate rather than an executor. It does not explicitly contrast itself with task_approve_action/task_reject_action, so the sibling boundary must be inferred from their names.

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?

"when high-risk or externally visible" supplies a triggering condition, which is more than most definitions offer. However, it is ambiguous whether the agent should call this only for high-risk actions or call it always and let the tool decide, and it never says which tool to use to resolve the resulting checkpoint (task_approve_action vs task_reject_action).

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.