Skip to main content
Glama

独行录 / opcmenu

一段话把自己归位到产业链

set_my_chain_position
Idempotent

【需要登录】确认后归位本人或get_my_products里的自有产品;describe写事实:服务谁、提供什么、怎样交付,5~500字,公开可见。固定declaredContext后source仍可inferred。真实LLM昂贵耗时,同文去重。【组合链】set→get_chain_anchor。position_unclear问谁/什么,relations_unclear问上下游,均勿盲重试;chain_source_changed最多重读后重试一次;llm_unavailable稍后再试。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
describeYes一段自由文本:我在产业链上是干什么的(给谁做什么、用什么做、交付什么),5~500 字
subjectIdNoproduct 时必给产品 id;user 时留空即可
subjectTypeNo给谁归位:user(默认,就是我自己)| product(我的某个产品)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior5/5

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

It discloses behavior well beyond the annotations: login is required, the result is publicly visible, the operation invokes a real LLM that is expensive and slow, identical text is deduplicated (explaining the idempotentHint), and it enumerates specific failure codes with recovery policy. Annotations already cover write/safety profile, and the description substantially enriches it.

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 login requirement and purpose are front-loaded, but the body is a dense run-on of semicolon-joined clauses mixing jargon, error codes and a combo-chain note. Most content earns its place, yet the cryptic 'declaredContext/source inferred' fragment and packed error list reduce readability.

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?

With no output schema and a mutation tool, the description covers the essentials: login prerequisite, public visibility, dedup behavior, the follow-up read tool, and error recovery. It stops short of describing the response shape, but for a write tool with annotations declaring safety, this is largely complete.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the schema already documents all three parameters, giving a baseline of 3. The description adds real meaning by specifying what 'describe' should contain (whom you serve, what you provide, how you deliver), the 5-500 char limit and public visibility, and clarifies the user-vs-product subject selection.

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 states a concrete verb+resource: after confirmation it positions ('归位') the user or one of their own products (from get_my_products) in the industry chain via a free-text description. It names related tools (get_my_products, get_chain_anchor) so an agent can place it among siblings, though the dense jargon ('declaredContext', 'source inferred') slightly muddies the core purpose.

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 gives explicit follow-up routing ('set→get_chain_anchor'), plus concrete error handling: on position_unclear ask who/what, on relations_unclear ask upstream/downstream and do not blindly retry, on chain_source_changed re-read once then retry, on llm_unavailable retry later. This is clear context and exclusions, though it doesn't contrast against alternative positioning tools like set_persona or find_positioning_task_people.

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