Skip to main content
Glama

quote_workflow_run

Preview the saved Flow steps for a selected output node and estimate generation costs. Complete paid estimates check available credits before offering an executable quote. This tool runs no nodes and spends no credits.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "workspaceId": "<workspaceId>",
      "workflowId": "<workflowId>",
      "targetNodeId": "<targetNodeId>"
    },
    "name": "quote_workflow_run"
  }
}

Input Schema

NameRequiredDescriptionDefault
workflowIdYes
workspaceIdYes
targetNodeIdYesID of the output node or step selected in the saved Flow

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

B3.4/5.0
Behavior3/5

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

With no annotations at all, the description carries the full burden, and it does disclose the most important trait: "runs no nodes and spends no credits," which effectively declares a read-only, non-destructive profile. It also notes paid estimates consult available credits. It stops short of stating permission requirements, whether the quote expires, or what happens when credits are insufficient.

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?

Three short sentences, front-loaded with the core action, followed by the cost/credit caveat and the no-side-effects guarantee. Nothing is redundant, though the middle sentence about paid estimates is slightly compressed and could be framed as a condition rather than a statement.

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

Completeness3/5

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

For a no-output-schema tool with three required IDs, the description covers what comes back conceptually (saved steps preview plus cost estimate) and the safety profile. It leaves open what an "executable quote" contains and whether the preview is paginated or truncated for large Flows, which an agent would want to know.

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 only 33% (only targetNodeId is documented), so the description needed to compensate and it does not mention any parameter by name. workspaceId and workflowId are self-evident by convention, but the description adds no meaning such as format expectations or the relationship between workflowId and the target step.

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

Purpose4/5

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

"Preview the saved Flow steps for a selected output node and estimate generation costs" names a specific verb pair (preview + estimate) and the exact resource scope (saved Flow at a selected output node). It is clear what the tool does, but it never names or contrasts with the adjacent quote_generation / get_workflow_run tools, so sibling differentiation is left to the agent.

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

Usage Guidelines3/5

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

Usage is implied rather than stated: the credit-check and "executable quote" language signals this is the pre-flight step before running a workflow, but there is no explicit "use this instead of X when Y" and no prerequisites (e.g., must the workflow already be saved?). The agent must infer when to pick this over quote_generation.

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.