Skip to main content
Glama

Ask how to do a task

ask_how_to
Read-onlyIdempotent

Turn a plain-language task description into matching tested step-by-step recipes, ranked and filtered by BotGathering evidence. Returns slug, title, summary, URL and match reasons.

Instructions

Find the best tested recipe (step-by-step playbook) for a task described in plain language, e.g. 'set up daily inbox triage' or 'my MCP server does not show tools in Claude'. Use it first when your human says 'use botgathering' or you need a proven way to do something; use search_recipes instead to browse by keyword, category or sort order. The server widens the search with the task's key terms, re-ranks every candidate locally (BM25 over title, tags and summary, fused with BotGathering's ranking and report evidence) and drops weak matches. Read-only, no key. Returns up to max_results answers (slug, title, summary, url, score, reports, why it matched) or no_good_match=true. Next: get_recipe(slug); after trying it, quick_report so the recipe improves (failures help too).

Input Schema

NameRequiredDescriptionDefault
taskYesThe task or problem in plain language; one sentence is enough
max_resultsNoHow many recipes to return (1-5, default 3)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.8/5.0
Behavior5/5

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

Goes well past the annotations: explains query widening by key terms, local BM25 re-ranking fused with server ranking and report evidence, weak-match dropping, no key required, and the no_good_match outcome. It also discloses the follow-up contract (get_recipe then quick_report) and notes failures are useful.

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-loads purpose, then alternatives, then internals, then return/next steps — a sensible order. The middle sentence on ranking mechanics is dense and could be one clause shorter, but every sentence carries actionable content.

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 still enumerates the returned fields (slug, title, summary, url, score, reports, why it matched) and the no_good_match case, plus the follow-up chain. Nothing an agent needs to call and act on the result 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 the baseline is 3; the description adds framing by specifying that 'task' is plain language and that output count is bounded by max_results. It stops short of extra guidance on ideal task phrasing or when to raise max_results beyond the schema's own note.

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 the best tested recipe / step-by-step playbook') and makes the distinction from search_recipes explicit. The parenthetical examples ('set up daily inbox triage') make the input shape concrete.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives an explicit trigger ('use it first when your human says use botgathering'), the general condition (need a proven way to do something), and the alternative with its selection criterion ('use search_recipes instead to browse by keyword, category or sort order'). No inference required.

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