New Your team’s decisions, in one playbook every coding agent works from. Never answer your agent twice

approveAgentAction

Approve or decline a change an agent proposed (a pending approval from askAgent, delegateToAgent or getAgentRun). Only the people it was sent to may decide it (the person who asked for the job; for a duty, its owner and backup approvers), and only while they can read what the job read: anyone els...

SERVERStable Baseline SOURCEhttps://api.stablebaseline.io/functions/v1/cloud-serve/mcp
Medium RISK CLASS
Category Write
Parameters 42 required
Recommended Rate-limitedsee the rule below
Registry record Grade F, identity unverified Pull the record →

This record as markdown: /tools/io-stablebaseline-sb/approveagentaction.md

What approveAgentAction does on Stable Baseline

AI agents use approveAgentAction to create or update resources in Stable Baseline, usually the action step of a workflow, after the agent has gathered context. Every call changes real data in your Stable Baseline environment.

ParameterTypeRequiredDescription
digest string — Optional, plan approvals only. The plan's SHA-256 digest from getAgentRun `plan.digest`; the decision is refused with plan_digest_mismatch when it differs.
reason string — Optional reason, recorded with the decision (shown when declining).
decision string Yes Your decision.
approvalId string Yes The pending approval id.

Parameters from the server's own tool schema.

Why approveAgentAction is rated Medium

An AI agent can call approveAgentAction faster than any human can review: one bad instruction and it creates or modifies resources in Stable Baseline by the hundred, each call as confident as the last.

Risk signalsBulk/mass operation — affects multiple targets

Questions about approveAgentAction

What does the approveAgentAction tool do? +

Approve or decline a change an agent proposed (a pending approval from askAgent, delegateToAgent or getAgentRun). Only the people it was sent to may decide it (the person who asked for the job; for a duty, its owner and backup approvers), and only while they can read what the job read: anyone else on its list is refused, and an approval they may not review comes without its content (mayReview false). Approving lets the job continue: this call waits up to 20 seconds and answers with the job's outcome and receipt if it settles in time, or its progress to follow with getAgentRun. Through a connection that reaches less than you do, the outcome comes back only for a job started through that same connection; any other approval it may decide is answered with the decision alone. The change runs as the agent, still within the rights of the person who started the job. Declining cancels the job with your reason. A plan approval (kind: plan) approves or declines the whole plan at once; only someone who can see every step's item may decide it, it expires after 24 hours and it is used once. Pass the plan's digest (getAgentRun plan.digest) to be sure you approve the plan you reviewed: a different digest is refused and nothing is decided. It is categorised as a Write tool in the Stable Baseline MCP Server, which means it can create or modify data. Consider rate limits to prevent runaway writes.

What parameters does approveAgentAction accept? +

approveAgentAction accepts 4 parameters: digest, reason, decision, approvalId. Required: decision, approvalId. The full parameter table on this page comes from the server's own tool schema.

How do I enforce a policy on approveAgentAction? +

Register the Stable Baseline MCP server in PolicyLayer and add a rule for approveAgentAction: allow, deny, rate-limit, or require approval. Point your MCP client at the PolicyLayer proxy URL and the rule is enforced on every call, before it reaches Stable Baseline. Nothing to install.

What risk level is approveAgentAction? +

approveAgentAction is a Write tool with medium risk. Write tools should be rate-limited to prevent accidental bulk modifications.

Can I rate-limit approveAgentAction? +

Yes. Add a rate_limit block to the approveAgentAction rule in your PolicyLayer policy. For example, setting max: 10 and window: 60 limits the tool to 10 calls per minute. Rate limits are tracked per agent session and reset automatically.

How do I block approveAgentAction completely? +

Set action: deny in the PolicyLayer policy for approveAgentAction. The AI agent will receive a policy violation error and cannot call the tool. You can also include a reason field to explain why the tool is blocked.

What MCP server provides approveAgentAction? +

approveAgentAction is provided by the Stable Baseline MCP server (https://api.stablebaseline.io/functions/v1/cloud-serve/mcp). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.

More on Stable Baseline, and thousands of servers like it.

Across the catalogue

// THE MCP REGISTRY

PolicyLayer tracks 44,603 MCP servers and 515,000+ tools.

Every server has a live record: who publishes it, whether it answers without auth, its risk grade, every tool classified, the recommended policy. This page is one line of Stable Baseline's. Pull the full record:

Teams ship this data inside their own products. See what a licence covers →

// GET IN TOUCH

Have a question or want to learn more? Send us a message.

Message sent.

We'll get back to you soon.