Skip to main content
Glama

workflow-get

Read-only

Get a single workflow by ID including its nodes, edges, and trigger configuration.

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": {
      "workflowId": "<workflowId>"
    },
    "name": "workflow-get"
  }
}

Input Schema

NameRequiredDescriptionDefault
workflowIdYesThe workflow ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false, and openWorldHint=false, so the safety profile is covered. The description adds real value by disclosing what the call returns — nodes, edges, and trigger configuration — which matters because there is no output schema, but it says nothing about not-found behavior or payload size for large workflows.

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?

One sentence, front-loaded with the verb and resource, then the return contents — no filler. It is appropriately sized for a simple lookup, though it is terse enough to leave behavioral questions unanswered.

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?

For a one-parameter read tool with annotations and no output schema, the definition gives enough to call it correctly and previews the returned structure. Missing only edge-case behavior (not-found, large graphs) that an agent might want before relying on it.

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?

There is a single parameter with 100% schema description coverage, so the schema already documents workflowId fully and the baseline is 3. The description reinforces that the ID identifies exactly one workflow (rather than a slug or name filter), which is a small but genuine clarification.

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?

States a specific verb and resource ("Get a single workflow") and pins the lookup key ("by ID"), which cleanly separates it from the list-style sibling workflow-list and from the mutating workflow-manage. It falls short of a 5 only because it does not explicitly name the sibling it contrasts with.

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 by "single workflow by ID" — fetch one full definition when you already have its ID — but the description never states when to prefer this over workflow-list (discovery) or workflow-run (execution), nor any failure conditions such as an unknown ID.

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