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

io.github.tanbopiao/taixuan-semantic-base

by tanbopiao

encode_block

Encodes ternary semantic elements into a semantic block and determines closure using pivot-priority combination order.

Instructions

语义元列表 → 块编码与闭合判定(枢优先结合顺序)

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": {
      "elements": "<elements>"
    },
    "name": "encode_block"
  }
}

Input Schema

NameRequiredDescriptionDefault
elementsYes语义元列表(按块内顺序)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.6/5.0
Behavior2/5

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

With no annotations, the description carries the full behavioral burden and does not meet it. It says nothing about whether the operation is pure/deterministic, whether 'closure determination' yields a boolean, what happens with an empty or malformed list, or what errors are possible. Only the arrow notation hints at a single-input/single-output transform.

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?

One compact line, front-loaded with input → output and a parenthetical qualifier; no filler. The terseness is a coverage problem rather than padding, so it does not lose points for verbosity, though the arrow shorthand is opaque without context.

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?

For a 1-parameter transform with no output schema, the description must explain what 'block encoding' and 'closure determination' actually return. It does not — an agent cannot tell whether the result is a string, a nested structure, or a closure flag, nor what '枢优先' ordering does to the output. Key domain terms are left undefined.

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%: the single parameter 'elements' is documented as an ordered list of {label, state} objects, and the 0/1/2 enum meaning (阴/枢/阳) is spelled out in the schema. The description's '语义元列表' merely echoes that, adding no ordering, size, or constraint detail beyond the schema. Baseline 3 applies.

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 names a transformation (list → block encoding plus closure determination) and adds a mechanism detail (枢优先结合顺序), so it is not a pure restatement of the name. However, the phrasing is heavy domain jargon with no plain-language gloss, and it gives no signal about how this differs from siblings such as base_rules, couple, patterns, or verify_corpus. An agent can guess it encodes elements into a block, but not much more.

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 when-to-use guidance, no prerequisite, and no mention of an alternative tool. The agent must infer from the name alone that this is a construction step rather than a validation step (verify_corpus) or a rule lookup (base_rules).

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