Skip to main content
Glama

hex_turn

Processes one dialogue turn from user text and host judgments, returning the exact reply to send and a single next work order to execute.

Instructions

一轮:user=用户这一轮原话;其余是宿主的判断(intent/brief/refs/ask/directions/pick/draft/revision/route/learn/forget/memory_scope/caps_update/retry_drop/outcome/inspect/review/say/topic)。返回 user_text(原样发给用户)和 order(下一张工单:只做它说的那一件事)。字段说明见 hex_guide。

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": {
      "payload": "<payload>"
    },
    "name": "hex_turn"
  }
}

Input Schema

NameRequiredDescriptionDefault
payloadYesturn 的 JSON 对象
sessionNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3/5.0
Behavior4/5

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

Annotations declare readOnlyHint=false and idempotentHint=false, so the agent already knows state changes. The description adds a real operational contract beyond that: user_text must be relayed to the user verbatim, and order is the next work order where only the single stated action should be performed. That is genuinely useful behavioral context not present in the annotations.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The key distinction and return contract are front-loaded, which is good, but the long slash-delimited parenthetical of nineteen field names is dense and hard to scan. It carries some information, but the same content would be better structured as a list or left to the referenced guide.

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 central turn-processing tool with a nested payload and no output schema, the description does cover return values (user_text, order) but leaves the payload semantics almost entirely to hex_guide and never explains what the returned order contains or what state effects the call has. It is minimally adequate rather than 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 coverage is 50% and payload is a nested object with roughly nineteen keys that the schema does not describe. The description partially compensates by enumerating those keys and drawing the key semantic distinction that user is the user's raw utterance while everything else is host-side judgment. However it gives no per-field meaning, deferring all of that to hex_guide.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description conveys that this processes one turn of a conversation and returns two things (user_text and order), but the core verb is only implied by the noun phrase '一轮' (one turn). An agent can guess this is a turn-processing/state-advance tool, but the purpose is stated obliquely rather than as a clear verb+resource.

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?

There is no explicit when-to-use or when-not-to-use guidance relative to siblings such as hex_guide or hex_status. The only routing hint is '字段说明见 hex_guide' (see hex_guide for field docs), which points to a reference tool but says nothing about when this tool should be invoked instead of others.

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