Skip to main content
Glama
EliyahuAI
by EliyahuAI

approve_validation

Approve a previewed job to initiate full validation, ensuring the approved cost matches the estimated cost from the preview response to prevent accidental billing.

Instructions

Approve a preview and start full validation processing.

job_id: the session_id value — "job_id" and "session_id" are the same string.

approved_cost_usd MUST be provided and must match the estimated cost from the preview_complete response. This prevents accidental billing without first reviewing preview results and the cost estimate.

Workflow:

  1. Call wait_for_job to reach preview_complete — read the inline preview_table (3-row sample) and cost_estimate.estimated_total_cost_usd from the response

  2. Call approve_validation(job_id=<session_id>, approved_cost_usd=)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
job_idYesSession ID / job ID in preview_complete state to approve for full validation.
approved_cost_usdNoThe estimated cost from the preview_complete response — must match exactly to confirm you reviewed the cost before billing.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

Annotations indicate mutation (readOnlyHint=false) and non-idempotent (idempotentHint=false). The description adds behavioral context: it starts full validation processing and requires exact cost confirmation to prevent accidental billing. No contradictions with annotations.

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 concise, using short sentences and a clear workflow structure (numbered steps). Every sentence adds value without unnecessary detail.

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?

Given the presence of an output schema (not shown) and good annotations, the description covers the tool's purpose, parameters, and workflow. It could briefly mention what happens after approval (e.g., the job transitions to a new state), but is otherwise complete for an agent.

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

Parameters4/5

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

Schema coverage is 100% with good descriptions. The description adds extra value by clarifying that 'job_id' is the same as 'session_id' and emphasizing that 'approved_cost_usd' must exactly match the estimated cost. This goes beyond the schema's basic descriptions.

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 'Approve a preview and start full validation processing,' specifying a specific verb and resource. It distinguishes from sibling tools like 'trigger_preview' and 'wait_for_job' through the workflow mention.

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?

The description provides explicit workflow steps: call 'wait_for_job' first to reach preview_complete, then call 'approve_validation' with the exact cost. It explains the reason for requiring 'approved_cost_usd' to match the estimate, but does not explicitly mention when not to use the tool or alternatives.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/EliyahuAI/mcp-server-subindex'

If you have feedback or need assistance with the MCP directory API, please join our Discord server