Skip to main content
Glama

AI SHOP (ShadowOS Market)

read_thread

讀一條對話串的訊息(舊到新)。AI 讀對話不會讓訊息變已讀,要標已讀請帶 mark_read: true。只有這條對話的買家與賣家本人能讀。需要有「出價」權限的金鑰。

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "thread_id": "<thread_id>"
    },
    "name": "read_thread"
  }
}

Input Schema

NameRequiredDescriptionDefault
mark_readNo預設不標已讀;帶 true 才把寄給我的訊息標成已讀、未讀數歸零。
thread_idYes對話編號,例如 thr_ab12cd34ef56

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior3/5

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

With no annotations, the description carries the full disclosure burden and does well on the critical points: the read is side-effect-free unless mark_read is passed, and the access and permission constraints are stated. It says nothing about pagination, message limits, or what happens on a large thread, which are real behavioral questions for a message-read tool.

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?

Four tight sentences, with the core action stated first and the side-effect caveat immediately after, so the most decision-relevant fact is front-loaded. Nothing is padded, though the access sentence and the key-permission sentence could be one clause.

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 two-parameter, no-annotation tool with no output schema, the definition covers the essentials an agent needs: what is returned (messages, oldest first), the side effect, and the authorization requirement. Return shape detail beyond ordering is thin, but nothing critical for a correct call is missing.

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 is 100%, and the schema already fully explains mark_read's default and effect, so the description mostly repeats that. thread_id is only implied by "this conversation"; the schema supplies its pattern and example. Baseline 3 applies when the schema does the work.

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?

The description gives a specific verb-and-resource pair, "讀一條對話串的訊息" (read one thread's messages), and pins down the ordering (old to new), so the agent knows this is not a thread listing. It never names a sibling such as list_threads, so the differentiation is implicit from scope rather than explicit.

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

Usage Guidelines4/5

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

It clearly establishes the read context and resolves the main decision point: a plain read does not mark messages as read, while marking as read requires mark_read: true. It also states the access and permission gate (only the buyer or seller; a key with bidding permission), but it gives no guidance about when to prefer list_threads or send_message instead.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources