Skip to main content
Glama

Listar comandos OpenCode

opencode_commands

Lists commands and workflows defined globally or for a specified OpenCode project directory.

Instructions

Lista comandos y workflows definidos globalmente o por el proyecto.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
directoryNoRuta absoluta del proyecto OpenCode. Las consultas agregadas pueden omitirla; las tareas y sesiones deben indicarla.
Behavior3/5

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

With no annotations, the description must carry the full burden. It implies a read-only listing operation, but doesn't explicitly state no side effects, permissions, or output format. However, the verb 'lista' and the scope clarification ('global o por el proyecto') provide some behavioral context.

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?

The description is a single sentence that is concise and front-loaded with the core action and resource. No redundant information.

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?

For a simple list tool with one optional parameter and no output schema, the description is reasonably complete. It states the action, resource, and scope. It lacks details on output format or usage alternatives, but these are not critical for such a simple tool.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage for the single parameter is 100%, with the parameter description already detailing when to include the directory. The tool description adds no additional parameter semantics, so the baseline score of 3 applies.

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?

The description uses the specific verb 'Lista' (lists) and names the resource 'comandos y workflows' (commands and workflows). It also clarifies scope ('globalmente o por el proyecto'), distinguishing it from sibling tools like opencode_providers or opencode_agents.

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

Usage Guidelines2/5

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

No guidance is given on when to use this tool versus alternatives. The parameter schema mentions 'aggregate queries' vs 'tasks and sessions', but that concerns the directory parameter, not tool selection. No exclusions or alternative tool references are provided.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/jdsalasca/mcp-opencode'

If you have feedback or need assistance with the MCP directory API, please join our Discord server