Skip to main content
Glama

describe

Read-onlyIdempotent

Inspect command capabilities, parser formats, side effects, and guard rules, or check whether a command line would pass safety checks without executing it.

Instructions

Without arguments: allowed commands, parsers, guard, side effects, version. With cmd: that command's allowed subcommands, flags, parser formats, side effect and examples. With command (or cmd+args): check whether it would pass the guard without running it.

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": "describe"
  }
}

Input Schema

NameRequiredDescriptionDefault
cmdNoCommand name to describe, e.g. 'git'
cwdNoWorking directory for the check/app
argsNoWith cmd: arguments to check without running
commandNoA full command line to check without running

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv3.0.3

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, and closed-world, and the description is fully consistent with that. It goes beyond them by clarifying that the guard check is evaluated without execution and that side effects and version are surfaced, which is genuinely useful behavioral context for callers deciding whether to escalate to 'run'.

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 clauses, one per argument mode, with the distinguishing condition front-loaded in each. No filler, and the parallel structure makes scanning fast despite the dense phrasing.

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?

There is no output schema, but the description effectively specifies what each mode returns, so an agent knows what to expect. The only mild gap is the interaction of 'cwd' with the guard check, which is covered only in the schema.

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 meaningful combinatorial semantics the schema cannot express: 'cmd' alone yields metadata while 'cmd'+'args' becomes a guard check, and 'command' is an alternative full-line form. The 'cwd' parameter is left to the schema, which documents it adequately.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description enumerates three concrete output modes: capability listing (allowed commands, parsers, guard, side effects, version), per-command metadata (subcommands, flags, parser formats, side effects, examples), and a dry-run guard check. The resource is implied by the tool name rather than stated in a leading sentence, so an agent must read all three clauses to grasp the whole purpose, but the content is specific and clearly not a query or execution 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?

Each argument shape is mapped to a mode: no arguments for the global listing, 'cmd' for per-command detail, and 'command' or 'cmd'+'args' for a guard check. The phrase 'without running it' implicitly contrasts with the sibling 'run', though no explicit when-not or alternative-tool handoff is stated.

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

Deploy Server

Other Tools