Skip to main content
Glama

plan_goal

Read-only

INFLUENCE — turn a goal into a grounded plan. Splits it into the smallest sub-goals an API call could satisfy, maps it onto a market outcome (Turbo EA value stream -> stages -> capabilities), and picks one real, phrased operation per sub-goal from the catalog — never an operation that is not in it. Name providers to stay within them, or leave them out to search every phrased provider. Returns coverage per sub-goal (covered / unmatched / unphrased / gap), any prebuilt cross-provider Arazzo composition for the outcome, and a bundle whose compose link feeds compose_goal. Priced B2 (cross-catalog synthesis) — $0.05 per call under pay-as-you-go; included in Understanding and Influence. See apis://prices.

Input Schema

NameRequiredDescriptionDefault
goalYesWhat the agent should accomplish, in plain language, e.g. "charge a customer and text them a receipt".
streamNoOptional value stream id or name to force, e.g. "Order-to-Cash".
contextNoOptional: one sentence on why you are asking. Never used to rank; read only if a result is wrong.
providersNoOptional provider slugs to stay within, e.g. ["stripe","twilio"].

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare read-only, closed-world behavior, so the description only needs to add context — and it does: pricing tier and per-call cost ($0.05, B2), a pointer to apis://prices, and the hard constraint that only catalog operations are ever returned. It stops short of stating latency, idempotency, or whether plans are persisted.

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?

Purpose is front-loaded in the first clause and each following sentence carries real information (scope, return shape, cost). It is dense with internal jargon ('phrased', 'Turbo EA', 'B2', 'bundle') that lengthens parsing without adding much for an outside caller.

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?

With no output schema, the description carries the return-value burden and does so well: coverage states (covered/unmatched/unphrased/gap), Arazzo composition, and a composable bundle. What remains unexplained is what an 'unphrased' or 'gap' result implies for the caller's next step.

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 coverage is 100%, so the schema already documents all four parameters, and the description's note on providers mostly restates the scoping semantics. It adds no detail on the stream or context parameters beyond what the schema says, so the baseline 3 applies.

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?

States a specific verb and resource ('turn a goal into a grounded plan') and enumerates the concrete transformations: sub-goal splitting, mapping to value stream -> stages -> capabilities, and selecting one catalog operation per sub-goal. It also distinguishes itself from the closest sibling by naming compose_goal as the downstream consumer of its bundle link.

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?

Gives a clear conditional for the providers parameter ('name providers to stay within them, or leave them out to search every phrased provider') and establishes the plan-then-compose pipeline. It does not explicitly state when NOT to use it, e.g. versus find_plans or gap_analysis for pre-existing plans.

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