Skip to main content
Glama
io.github.tanbopiao/taixuan-semantic-base

io.github.tanbopiao/taixuan-semantic-base

by tanbopiao

couple

Determines the combined semantic state from two ternary inputs (0, 1, or 2) using a decision table, returning the resulting state and rule explanation.

Instructions

两态耦合判定:给定两个语义元的态(0/1/2),按裁决表返回结果态与规则说明

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": {
      "left": "<left>",
      "right": "<right>"
    },
    "name": "couple"
  }
}

Input Schema

NameRequiredDescriptionDefault
leftYes左语义元取值
rightYes右语义元取值

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.4/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full disclosure burden. It does add real behavioral information: the result is produced by a fixed 裁决表 (decision table) and includes a 规则说明 (rule explanation), which an agent could not infer from the schema alone. However, it never says whether the call is pure/side-effect free, what the result state values mean, or whether the rule explanation is returned as text.

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 sentence, front-loaded with the purpose, then the input domain, then the return payload; no filler. It is dense and jargon-heavy (两态耦合, 语义元), which slightly reduces readability but does not waste words.

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 simple two-parameter tool with full schema coverage, the description covers purpose, inputs, and the fact that a rule explanation returns. What is missing is the meaning of the returned result state and the form of the rule explanation, which matter because there is no output schema to document them.

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% and both parameters carry enum constraints with descriptions, so the schema already defines left and right. The description only restates the domain (0/1/2) and does not add meaning about what each semantic-element state signifies or how left/right roles differ beyond naming.

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 names a specific operation (两态耦合判定) plus the exact inputs (two semantic-element states, each 0/1/2) and the exact outputs (result state and rule explanation), so an agent knows it is running a decision-table lookup rather than a generic computation. It does not distinguish itself from siblings such as base_rules or patterns, so it falls 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 Guidelines3/5

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

Use is only implied: the agent can infer it should call this when it needs to combine two 0/1/2 states. There is no explicit statement of when to use it versus alternatives, and no mention of the sibling rule/pattern tools or of prerequisites, so this is minimum-viable guidance.

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