Skip to main content
Glama

独行录 / opcmenu

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

set_my_chain_position
Idempotent

【需要登录】【何时用】全平台唯一一个「自由文本即写入」的接口,正是 agent 的主场。 用户在对话里刚说完自己在干什么,你把那段话整理成一句 describe 直接提交,LLM 据此推出链位并把他并进链网。App 里这一步要用户自己打开定位页、切到产业链、想一段话再打字。

【组合链】提交成功 → get_chain_anchor 立刻能看到他新的上下游环 → 从环里挑人 get_creator → start_conversation。不传 subjectType/subjectId 就是给「我」归位;给产品归位就传 subjectType=product + 产品 id(必须是我自己的产品,先 get_my_products 拿 id)。

【怎么写 describe】把用户原话整理成「给谁做什么、用什么做、做完交付什么」,5~500 字。别替他编——他没说的上下游不许你加。

【口径/坑】 · 归位记 source='declared':用户拍板的链位钉死,后续系统自动重推不会覆盖它(画像的其它字段照常刷新)。 · 失败分支返回体自带出口,照着念:position_unclear(看不出你在干什么,要补「给谁做什么」,别重试)/ position_relations_unclear(看得出做什么、看不出上下游是谁,要追问「活儿从谁手上接、做完交给谁用」,别重试)/ chain_source_changed(你刚改过资料或产品,原样重提一次即可)/ llm_unavailable(判链位的模型不在,过几分钟再试,别说成描述有问题)。 · 这是一次完整的 LLM 重推,慢且花钱。同一段描述重复提交会被本工具去重(返回 deduped=true),别靠重复调来「催」。 · 归位会改变他在别人产业链视图里的位置——这是对外可见的写操作,不是本地设置。

Input Schema

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

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Annotations already mark this as a non-read, idempotent, non-destructive write, and the description adds significant behavioral context: it is a full slow/expensive LLM re-derivation, identical submits are deduplicated (deduped=true), the declared position is pinned and will not be overwritten by later automatic pushes, and it is an externally visible write affecting how others see the user in the chain. No contradiction with annotations.

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?

The description is long but well-structured with bolded section headers and front-loaded purpose. Every part carries operational information, though some sentences (e.g., the comparison to the app's manual flow) are explanatory rather than directly actionable. It is appropriately sized for the tool's complexity, but slightly less crisp than a minimal high-quality definition.

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?

The description covers prerequisites, combination flows, dedup behavior, external visibility, and all named failure branches with response keys and follow-up actions. However, since there is no output schema, the success response shape is left vague—only deduped=true is mentioned. This is a minor gap given the post-success verification path is described, but it prevents a perfect score.

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 baseline is 3. The description adds genuine value by teaching how to compose describe ('what you do for whom, with what, delivering what', 5–500 chars, no fabrication) and by adding the rule that product positioning requires one's own product id from get_my_products. This goes beyond the schema, but not drastically enough to warrant a 5.

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

Purpose5/5

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

The description explicitly states this is 'the only free-text-to-write interface' on the platform, takes the user's words, submits them as a describe string, and has an LLM derive the chain position and merge the user into the chain network. It clearly identifies the resource (the user's or own product's chain position) and is fully distinguishable from any sibling tool.

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

Usage Guidelines5/5

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

An explicit '何时用' (when to use) section opens the description, positioning it as the agent's entry point. It provides a concrete follow-up chain (get_chain_anchor → get_creator → start_conversation), rules for defaulting to 'me' vs. targeting a product, and the prerequisite get_my_products. Failure branches each come with exact next actions and explicit 'don't retry' guidance.

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.

TDQS

A4.1/5.0
Disambiguation4/5

Each tool has a clearly documented purpose, often with explicit 'when to use' guidance and cross-references, making the vast majority easy to tell apart. A few clusters (get_my_brief, get_my_positioning, get_my_work, get_my_dispatch) and data-overlapping get_my_card vs get_my_profile require careful reading, but descriptions are detailed enough to prevent serious misselection.

Naming Consistency4/5

The overwhelming majority follow snake_case verb_noun conventions (create_product, update_need, list_my_signups). Minor deviations include noun-only feed names (personalized_feed, random_feed), inconsistency between 'prefs' and 'preferences' in notification tools, and a mix of update_* and set_* for mutations, but the pattern remains predictable overall.

Tool Count1/5

137 tools is an extreme mismatch for any MCP server, far exceeding the 50+ threshold for a score of 1. Even with a broad multi-domain platform, this volume makes tool selection and navigation impractical and heavily burdens the agent's context window.

Completeness5/5

The surface covers full lifecycles for needs, products, activities/signups, conversations, collaboration goals/tasks, dispatch, profile/onboarding, and supporting resources like companies, parks, policies, and ratings. Deliberate omissions (no user-post creation, no organizer profile editing via agent) are explicitly documented, so core workflows have no obvious dead ends.

Resources