Skip to main content
Glama

get_example_workflow

Read-onlyIdempotent

Fetch an example workflow by name, extract its embedded JSON from documentation images, and return ready-to-use workflow JSON you can pass to run_workflow.

Instructions

Fetch an example workflow (extracts embedded JSON from documentation images). Returns ready-to-use workflow JSON that can be passed directly to run_workflow. Use this as a starting point and modify prompts, models, or parameters as needed.

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": {
      "name": "<name>"
    },
    "name": "get_example_workflow"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYesName of the example workflow to fetch
variantNoWhich variant to get (0 = first/default)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint and openWorldHint, so safety and repeatability are covered. The description adds real value by disclosing that the JSON is extracted from documentation images and is ready to consume unmodified. It says nothing about failure behavior when a name or variant does not exist, which matters for an open-world lookup.

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 what is fetched before the follow-on advice. The parenthetical about image extraction is slightly tucked away but still informative rather than wasteful.

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?

This is a simple two-parameter retrieval tool with full schema coverage and annotations covering safety, so most of the burden is already met, and the description explains the shape of the return value despite there being no output schema. The remaining gap is discoverability and error behavior, which are not addressed.

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 100%, so 'name' and the zero-based 'variant' are already documented in the schema. The description adds no further meaning to either parameter, so it sits at the baseline for fully covered schemas.

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 ('Fetch an example workflow') and adds the mechanism ('extracts embedded JSON from documentation images'), which tells an agent what the payload actually is. The mention that the result can be passed to run_workflow implicitly separates it from that sibling, but it never explicitly contrasts with list_examples, so it stops short of full differentiation.

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 intent ('Use this as a starting point') and a next step (modify and pass to run_workflow), which is effectively when-to-use guidance. It does not say when not to use it, e.g. that list_examples should be called first to discover valid names, or how to behave when the name is unknown.

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