Skip to main content
Glama

get_docs

Read version-matched embedded Fire documentation to answer configuration, command, session, and MCP questions; omit the topic to return the full topic index.

Instructions

Read Fire's version-matched embedded documentation. Omit topic to return the full topic index. Available topics:

  • commands-and-args (Writing Commands and Handling Arguments): This guide shows how to author commands, chain hooks, and work with positional arguments and placeholders.

  • comparison (Fire compared to other task runners): Fire overlaps with tools you may already use as a command menu: make, just, Task, mise tasks, and npm run. This page explains what Fire adds, and when another tool is the better fit.

  • completion (Shell Completion): Fire ships rich tab-completion for zsh (with inline descriptions) and a complete -C compatible mode for bash.

  • examples (Progressive Examples): These examples show how to combine Fire features.

  • mcp (MCP server): fire cli mcp starts a Model Context Protocol server over stdio, exposing configured commands, managed long-running sessions, and version-matched Fire documentation to agents.

  • overview (Fire CLI — Overview): Fire is a configuration-driven CLI. Commands, completion, and runtime execution are defined in YAML files you keep alongside your project. This document covers how Fire discovers config, merges scopes, and resolves command paths.

  • runtimes-and-eval (Runtimes, eval, and Dynamic Scripts): Fire can evaluate JavaScript/TypeScript (node or deno) and Python snippets directly from your YAML config. Define runtimes once, then reference them from eval expressions and compute entries.

  • schema (Fire Config): JSON Schema for authoring and validating Fire configuration files.

  • sessions (Sessions): Fire runs commands inside sessions: the program runs on a pseudo-terminal (pty) under a small supervisor, so it behaves exactly as in your terminal (colors, progress bars, prompts, password input, full-screen TUIs), but it doesn't belong to your terminal. You can detach from it, close the terminal, and pick it up again from any other terminal, project or agent.

  • troubleshooting (Troubleshooting): Common issues and quick fixes.

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_docs"
  }
}

Input Schema

NameRequiredDescriptionDefault
topicNoDocumentation topic to read. Omit it to return the full topic index.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv3.0.0

TDQS

A4.4/5.0
Behavior4/5

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

No annotations are supplied, so the description carries the burden; it discloses that reads are version-matched to the running Fire build and that the no-argument call returns an index rather than content. It does not describe error behavior for an invalid topic, but the schema enum constrains that case.

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?

Purpose and the omit-topic rule are front-loaded before the topic list, which is long but each entry is short and pays for itself by preventing a wasted call. The list could be trimmed slightly, but nothing is redundant.

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 single optional parameter, read-only documentation tool with no output schema, the description covers both call shapes (index vs single topic) and the content of every option. Nothing needed to invoke it correctly 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, but the description goes beyond the bare enum by giving a one-line summary of every topic, letting the agent choose without a discovery round trip. The omit-to-get-index semantics also restate the schema's description in actionable form.

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: read Fire's version-matched embedded documentation. It is immediately distinguishable from the session/global siblings, which manage processes and persisted state rather than serving docs.

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 in-tool routing: omit `topic` to get the full topic index, then select a topic. It also tells the agent what each topic covers so a targeted fetch is possible, though it never states when this tool should not be used (e.g., preferring an actual command run).

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