Skip to main content
Glama

NexusTrade Financial MCP

approve_agent_plan

⚠ INDIRECTLY COSTS LLM CREDITS — approving the plan unfreezes the agent which then runs more planning + execution LLM calls. Manual approval required; do NOT call unless the user explicitly told you to advance their Aurora agent. Approve a semi-automated agent that is waiting in pending_plan_approval or pending_action_approval. Auto-detects which approval the agent needs and emits the matching state-machine event so the agent resumes execution. Returns 400 if the agent is not in a pending-approval state.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
agentIdYesMongoDB agent _id to approve

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/5.0
Behavior5/5

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

No annotations are present, so the description carries the full burden. It discloses that approval indirectly costs LLM credits, unfreezes the agent, triggers further planning/execution calls, emits the matching state-machine event, and returns 400 for invalid states. This is thorough and directly actionable.

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?

The description is dense but every sentence earns its place: the credit-cost warning is front-loaded, followed by usage constraints, behavior, and error semantics. It avoids fluff and repetition.

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

Completeness5/5

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

For a single-parameter tool with no output schema, the description is remarkably complete. It covers prerequisites, state requirements, behavior, side-effects, and error responses, leaving no critical unknowns for an agent deciding whether and how to invoke it.

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% and clearly documents agentId as the MongoDB agent _id to approve. The description adds useful context that the agent must be in a pending-approval state, but it does not add significant parameter-level semantics beyond the schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool approves a semi-automated agent that is waiting in pending_plan_approval or pending_action_approval, and explains it auto-detects the needed approval type. It uses a specific verb and resource, and the manual-approval warning distinguishes this from passive read or messaging tools.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description gives explicit when-to-use guidance: only for agents in pending_plan_approval or pending_action_approval, and only when the user explicitly asked to advance the agent. It also includes a strong when-not-to-use warning ('do NOT call unless the user explicitly told you'), which is unusually clear.

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.