Skip to main content
Glama

独行录 / opcmenu

批量记撮合进展

update_broker_match
Idempotent

【需要登录】批量改撮合状态并写 outcome(「成了什么」的自由文本,App 上根本填不了,那儿只有两个按钮)。状态:DRAFT 待牵线 / INTRODUCED 已牵线 / MET 已对上 / DEAL 成了 / DEAD 黄了。 【组合链】get_broker_desk 看待跟进的 → 问用户每条后来怎么样了 → update_broker_match(updates) 一次记完。 【口径】① ⚠ 把状态改成 INTRODUCED 会占掉当天拉群额度(补记「我上周私下牵过线了」和真的拉群共用同一个 24h 滚动上限 10)——一次补记十条,当天就拉不了群了。返回里的 warning 会告诉你还剩几次。② 建错的撮合别删,改成 DEAD 才是诚实口径。③ outcome/reason 是用户自己的账本,原样存原样回。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
updatesYes逐条 {matchId, patch},最多 20 条

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.2/5.0
Behavior5/5

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

The description discloses login requirements, a concrete side effect (INTRODUCED consumes the shared 24-hour group-introduction quota of 10), a response warning, and operational policies such as not deleting erroneous matches and marking them DEAD instead. It adds significant behavior beyond the annotations and does not contradict readOnlyHint, idempotentHint, or destructiveHint.

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 dense but structured into login, workflow, and policy sections, with the most critical quota warning highlighted. It is longer than strictly necessary — for example, the App-button contextual detail is peripheral — but every section still earns its place.

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?

For a mutating tool with no output schema, it covers the essential operational context: auth, workflow, status semantics, quota side effects, and the response warning. The main gaps are the under-defined 'reason' field and the lack of a broader response or error description.

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?

The description maps status enums to human meanings, explains that outcome is free text unavailable in the App, and notes that outcome/reason are stored and returned verbatim. It does not fully define the meaning of 'reason', and nested patch fields lack schema descriptions, so the description only partially compensates.

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 opens with a specific action: batch-change broker-match status and write a free-text outcome, then lists all five statuses with Chinese labels. This is clear about the resource and operation, but it does not explicitly name a sibling alternative such as introduce_broker_match, so differentiation is implied rather than stated.

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?

The '组合链' section gives an explicit workflow: pull follow-ups from get_broker_desk, ask the user about each match, then call this tool once with updates. This is strong when-to-use context, but it does not state exclusions or when to prefer an alternative tool.

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