Skip to main content
Glama
xuanpass

opencode-http-mcp

by xuanpass

opencode_message_get

Retrieve details of a specific message within a session by providing session ID and message ID. Use to inspect message content, metadata, or status.

Instructions

Get details of a specific message in a session.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
directoryNoProject directory to target. Optional; defaults to the server default project.
messageIdYes
sessionIdYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv3.0.0

TDQS

C2.7/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full behavioral burden. It says nothing about whether the call is read-only, what happens when the message or session does not exist, required permissions, or the shape of the returned details.

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?

A single short, front-loaded sentence with no filler or redundancy. It is efficient, though its brevity comes at the cost of under-specification rather than over-explaining.

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

Completeness2/5

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

With no annotations, no output schema, and two of three parameters undocumented, the description is too thin for an agent to call this correctly. It omits return format, error behavior, and any identifier expectations.

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?

Schema description coverage is only 33% (only "directory" is documented; sessionId and messageId are bare). The description mentions "message" and "session" but adds no format, scope, or identifier meaning beyond what the parameter names already imply, so it fails to compensate for the coverage gap.

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 ("Get details") and resource ("a specific message in a session"), so an agent can tell it apart from opencode_message_list. It does not explicitly name the sibling it is distinguished from, keeping it short of a 5.

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 when-to-use guidance or alternatives are given. The agent must infer from the name that this fetches a single message versus the bulk opencode_message_list, but the description never states that condition or any prerequisites.

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