Skip to main content
Glama

find_commands

Discover OpenSTA commands by glob pattern when you don't know the name or get 'invalid command name'. Returns matching names; use run_tcl 'help ' for details.

Instructions

Names of the OpenSTA commands matching a glob pattern (e.g. "power", "report_*"). Use this when you do not know a command's name or run_tcl answered "invalid command name". Returns names only; read a command's description and options with run_tcl "help ".

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
patternNo*

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.7/5.0
Behavior4/5

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

With no annotations, the description carries the load, and it does well: it discloses that only names are returned ('Returns names only'), not descriptions or options, and points to the remedy. It does not state read-only semantics explicitly, but the read-only nature is strongly implied by the query-style behavior.

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 short sentences, front-loaded with the return value and followed by usage and follow-up guidance. No filler.

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?

An output schema exists, so return-value detail is not required, yet the description still clarifies that only names come back. Combined with usage triggers and glob examples, nothing an agent needs to call this 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 0% for the single pattern parameter, so the description must compensate; it does so with concrete glob examples ('*power*', 'report_*'). It stops short of describing the default or pattern syntax rules, but the examples convey the intended format.

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 precise verb+resource: returns OpenSTA command names matching a glob pattern. It is clearly distinguishable from siblings like run_tcl and report_timing, and the glob examples make the scope immediately 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 two explicit trigger conditions ('you do not know a command's name' or 'run_tcl answered "invalid command name"') and a named follow-up action (run_tcl "help <name>"). The agent knows both when to call this and what to do next.

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