Skip to main content
Glama

Search the workflows

search_workflows
Read-onlyIdempotent

Find workflow pages that answer a plain-language question about how a project behaves, ranked by relevance and staleness, so you can read them and cite their identifiers.

Instructions

Returns the pages that answer a question about how the project behaves — "what happens when an operator validates an order?" — ranked on their words, then those they lead to; eight at most, the stale ones said. Read them with get_workflow and answer from them alone, citing their identifiers.

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

Input Schema

NameRequiredDescriptionDefault
limitNoAt most this many pages
questionYesThe question, in plain words, in any language the pages are written in

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv3.10.1

TDQS

A4.4/5.0
Behavior5/5

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

Annotations already declare read-only, idempotent, closed-world and non-destructive behavior, yet the description still adds real value: the ranking rule (word match then linked pages), the hard result cap of eight, the fact that stale pages are flagged in the result, and the requirement to cite identifiers. Those are behavioral traits not encoded in any structured field.

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?

Two sentences, front-loaded with what is returned, then the follow-up instruction — no filler. However, the em-dash clause 'then those they lead to; eight at most, the stale ones said' is compressed to the point of being hard to parse on first read.

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?

With no output schema, the description carries return-value burden and does: pages, ranking, cap, staleness marking, and the returned identifiers used for citation. Combined with full parameter documentation and annotations covering the safety profile, an agent has everything needed to call it and use the result correctly.

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% with two simple parameters, so the schema already explains 'question' and the 1-8 'limit'. The description restates the cap ('eight at most') and the plain-language, any-language question, adding no format, syntax, or ranking-tunable detail beyond what the schema provides. 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 (returns/searches) and resource (pages about how the project behaves) with a concrete example question, and pins the scope: ranked by words, then pages they lead to, eight at most. This distinguishes it from list_workflows (enumerate) and get_workflow (fetch one page), which the description ties together as a read-next step.

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?

Explicitly prescribes the downstream flow: read the returned pages with get_workflow and answer from them alone, citing their identifiers. That is clear usage context and a constraint on relying on paraphrase. It does not state when to use list_workflows or get_workflow directly instead, so it stops short of full when/when-not guidance.

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