Skip to main content
Glama

opencode_question_reject

Destructive

Reject a pending question from OpenCode by supplying its request ID. This cancels the waiting request, allowing you to decline clarification prompts and proceed.

Instructions

Reject a pending OpenCode question explicitly.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
directoryNoAbsolute path to the project directory. When provided, the request targets that project. If omitted, the OpenCode server uses its own working directory.
requestIdYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
dataNo
textYes
isErrorYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv3.0.0

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already mark this as destructive, non-read-only, and non-idempotent, so the description does not need to restate that. It adds the 'pending' scope and 'explicitly' nuance, but does not describe side effects or irreversibility beyond what the annotations imply.

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?

A single, front-loaded sentence with no filler. Every word adds meaning: 'Reject', 'pending', and 'explicitly' all contribute to understanding the action.

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?

The tool is simple and has an output schema plus annotations covering destructiveness, but the description still leaves the agent to infer the role of requestId and when rejection is appropriate. Adequate for a minimal call, but with clear gaps.

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

Parameters2/5

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

The description does not explain that requestId identifies the question to reject, and the schema only gives it a minLength with no semantic description. Directory is described in the schema, but at 50% coverage the description should compensate for requestId and does not.

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 a specific verb ('Reject') and a clear resource ('a pending OpenCode question'), which makes the tool's function immediately understandable and distinguishes it from siblings like opencode_question_reply and opencode_question_list.

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 about when to reject a question versus replying to it, or what conditions must hold (e.g., the question must still be pending). The word 'pending' hints at the precondition, but no alternatives or exclusions are mentioned.

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