Skip to main content
Glama

Find templates

search_templates
Read-onlyIdempotent

Ready-made workflow, agent or pipeline templates that fit a task, best match first: the Fetch Hive library and the account's own templates. A pipeline template is several workflows in a row with checkpoints where the person decides. Prefer a good template over building from scratch. Library templates are read-only; use_template gives the account its own copy to run and change.

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

Input Schema

NameRequiredDescriptionDefault
appsNoApps the person uses, e.g. ["slack", "gmail"]. Templates using them rank higher.
kindNoDefault workflow; all searches every kind and every row says its kind.
limitNoHow many to return (default 5).
queryYesThe task in plain words, e.g. "weekly summary of new Stripe payments to Slack".

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / kind / description
      Previous value: -"Default workflow; all searches both and every row says its kind."New value: +"Default workflow; all searches every kind and every row says its kind."
    • changedInput schema / properties / kind / enum
      Previous value: -[
      -  "workflow",
      -  "agent",
      -  "all"
      -]New value: +[
      +  "workflow",
      +  "agent",
      +  "pipeline",
      +  "all"
      +]
  2. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent and non-destructive, so the safety profile is covered. The description goes beyond that usefully: results are ordered best match first, library templates are read-only while use_template produces a mutable account copy, and an `all` search labels each row with its kind — all behavior an agent needs to interpret results and decide the next step.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three tight sentences, front-loaded with what the result set is, then the kind clarification, then the usage preference and library/copy distinction. No restatement of the tool name and no filler; every clause carries information the agent would otherwise have to infer.

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?

With no output schema, the description usefully covers result ordering and per-row kind labeling, which is more than most search tools offer. The notable remaining gap is that it never says results carry the identifiers needed to feed use_template, which is the obvious next step it points the agent toward.

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 the baseline is 3, but the description adds real meaning to the `kind` enum by explaining that a pipeline is several workflows in a row with checkpoints where a person decides, and that an `all` search labels every row with its kind. It does not add anything about `limit` or `apps` beyond what the schema already says about ranking.

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: find ready-made workflow, agent or pipeline templates that fit a task, drawn from the Fetch Hive library plus the account's own templates, ranked best-match first. It also defines what a pipeline template is and contrasts itself with use_template (which makes a runnable copy), so an agent can tell it apart from the search_* and build_* siblings without opening a schema.

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?

"Prefer a good template over building from scratch" gives a clear positive trigger for reaching for this tool rather than building, and the use_template sentence implies the follow-on step. There are no explicit exclusions (e.g. when existing workflows already satisfy the need, or when search_workflows/search_agents is the better call), so it stops short of a full when/when-not map.

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