Skip to main content
Glama

Get workflow or guide section

get_workflow
Read-only

Retrieve TogoMCP multi-step analysis workflows, list available workflow names, or fetch workflow reference files to support saving, citing, and reproducing query provenance.

Instructions

Retrieve a TogoMCP workflow: a multi-step analysis protocol that drives the TogoMCP tools. Workflows also cover requests about results, not only analysis questions: name="query-provenance" records, re-runs and packages the exact queries behind a result, for saving, citing or reproducing it (e.g. for a paper). Call with no arguments to list available workflows. Call with name to get its SKILL.md. Relative links inside it (e.g. references/x.md) are fetched with get_workflow(name, path="references/x.md"). Read-only. RETURNS a text listing, or a short header (files + sizes, digest) followed by the raw SKILL.md, or the raw requested file. An unknown name or an invalid path returns a string beginning with 'Error:' (listing the valid names or files); retrying the same arguments will not change the result. Also serves the TogoMCP Usage Guide's on-demand reference files: get_workflow(name="usage-guide", path="references/").

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_workflow"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNoWorkflow name. Omit to list all workflows.
pathNoFile inside the workflow, relative to its root (e.g. `references/sparql-templates.md`). Requires `name`. Omit to get SKILL.md.

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv2.34.1

TDQS

A4.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint and openWorldHint, and the description restates 'Read-only' rather than extending it. It does add genuinely useful behavior beyond annotations: error responses begin with 'Error:' and enumerate valid names/files, retrying identical arguments is futile, and link targets are relative to the workflow root. That is solid but partly duplicates the return-format detail an output schema could carry.

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?

Front-loaded with the definition, then the usage modes, then returns and errors. Dense and efficient, though the RETURNS sentence is a long run-on enumerating three shapes that partly restate the output schema.

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

Completeness5/5

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

For a two-parameter read-only retrieval tool, everything needed to call it correctly is present: modes, naming conventions, relative-path resolution, return shapes, and error semantics. With an output schema and readOnly annotations already supplying structure, nothing material is missing.

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 coverage is 100%, so baseline is 3; the description earns the bump by documenting semantics the schema does not: the special `name="usage-guide"` value, the `path="references/<file>"` convention, and the fact that `path` requires `name` and defaults to SKILL.md. This is meaning beyond the field-level descriptions.

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 ('Retrieve a TogoMCP workflow') and immediately defines what a workflow is ('a multi-step analysis protocol that drives the TogoMCP tools'). It also carves out the beyond-analysis use case ('query-provenance' records for saving, citing or reproducing results), so an agent can tell what this tool covers versus a general usage-guide tool.

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 explicit invocation modes: no arguments to list, `name` to get SKILL.md, and `name`+`path` to fetch a relative link. It explains the relative-link resolution pattern concretely. It stops short of explicitly excluding or routing away from named siblings, but the mode-based guidance is unambiguous.

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