Skip to main content
Glama

opencode_tool_list

Read-only

Lists available built-in and MCP tools, optionally filtered by provider or model, to help clients discover and select the right tool for a task.

Instructions

List all available tools (built-in and from MCP servers). Optionally filter by provider/model.

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

Input Schema

NameRequiredDescriptionDefault
modelNoFilter by model
providerNoFilter by provider

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false and openWorldHint=true, so the safety profile is covered. The description adds useful scope detail (built-in and MCP-sourced tools) but says nothing about return shape, ordering, or whether filtering is exact-match.

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?

Two short sentences with the scope front-loaded and no filler. The second sentence largely echoes the schema's parameter descriptions, which is the only mild redundancy.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a zero-required-param read-only list tool with annotations covering safety, the description is serviceable but silent on what the results actually contain (names, descriptions, source server), which an agent would want without an output schema. Adequate, not complete.

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 description coverage is 100%, so both parameters are already documented in the schema; the description only restates that filtering is optional. It adds no syntax, case-sensitivity, or combined-filter behavior beyond the schema baseline of 3.

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?

States a specific verb and resource (list available tools) and clarifies scope as built-in plus MCP-server tools, which meaningfully separates it from opencode_mcp_list and opencode_model_list. It stops short of explicitly contrasting with those siblings by name, so an agent must infer the boundary.

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

Usage Guidelines3/5

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

"Optionally filter by provider/model" implies usage but gives no when-to-use or when-not-to-use guidance. There is no pointer to alternatives such as opencode_mcp_list or opencode_model_list for narrower lookups.

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