Skip to main content
Glama

actionlayer

actionlayer_start_task

Destructive

Get a real-world goal done — book, order, register, resolve, cancel, dispute, file. Use this when the user wants something DONE (a table held, an order placed, an account registered, a refund chased), not when they want analysis or text.

The concierge works the ticket end-to-end — talking to the person on the other side, signing up or logging in, paying at checkout within max_budget_usd, following up — and adapts to whatever it finds. Tickets that would normally fail on a hard step just keep progressing. You don't need to design around the unhappy path.

Prefer actionlayer_invoke_action with a typed action id when one fits — it's faster and more deterministic. Reach for actionlayer_start_task when no typed action covers the job, or when the goal mixes multiple steps.

Be SPECIFIC. The goal must include: which site/place, when, how many, exact product URL if buying. Vague goals ("book me dinner", "order something") block on the user and waste planning budget — ask the user for the missing pieces FIRST, then call this with everything nailed down.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
goalYesSpecific natural-language description. Good: "Book a table for 2 at Bar Crenn (SF) on 2026-12-06, 7-8:30pm via Resy" Bad: "find me a flight" (too vague — will block)
webhook_urlNoOptional. Best-effort POST (single attempt, no retries) when the ticket blocks on user input or reaches a terminal state. Thin payload {kind, ticket_id, state, occurred_at} — treat it as a poke and call actionlayer_get_task for the details. Polling works with or without it.
max_budget_usdNoRequired for anything that spends money. The planner soft-caps spend and escalates instead of overspending.
idempotency_keyNoOptional caller-supplied retry key — same key within 24h returns the same ticket.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

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?

Annotations indicate destructiveHint=true and openWorldHint=true, and the description aligns with these while adding context: it discloses that the concierge works end-to-end, adapts, may sign up/log in, pay within max_budget_usd, and that hard-step failures keep progressing. It also warns that vague goals block and waste planning budget. This goes beyond the annotations to describe the autonomous and potentially side-effecting nature of the operation.

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?

The description is longer than typical but each section earns its place: a concise purpose statement, explicit usage routing, and a focused specificity checklist. The structure is front-loaded with the core purpose and then gives actionable guidance. Slightly verbose but well-organized and not redundant.

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 tool's complexity (autonomous agent with spending, external interactions, and possible irreversible actions), the description covers when to use, how to specify the goal, the async webhook behavior, and budget handling. An output schema exists, so return values are covered. Minor gaps like credential handling are left to sibling tools, but overall it is thorough enough for an agent to call it correctly.

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 description coverage is 100%, so the schema already documents each parameter. The description adds value by explicitly listing what a specific goal must include (site/place, when, how many, exact URL) and by referencing max_budget_usd as the spending cap. It also clarifies the webhook_url is a best-effort poke and that polling works without it, which aids correct usage.

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 opens with a clear list of action verbs ('book, order, register, resolve, cancel, dispute, file') and explicitly states it is for getting real-world goals done, not analysis or text. It differentiates from the sibling actionlayer_invoke_action by explaining the tradeoff, so an agent can distinguish them without opening schemas.

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?

It explicitly states when to use this tool ('when the user wants something DONE') and when to prefer the sibling actionlayer_invoke_action ('when no typed action covers the job, or when the goal mixes multiple steps'). It also provides concrete pre-call guidance (ask for missing pieces, be specific) and names the exact alternative, leaving no ambiguity.

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