Skip to main content
Glama

独行录 / opcmenu

全池扫匹配

scan_broker_matches

登录;调用计费模型,别循环重试;每条锚点一次全站检索,429须减速。私池与全站候选合并、跨锚点去重,保留最高分和全部理由。盘池用多 leadIds、小 perLead;难配单条可 perLead=20。list_broker_leads → 本工具 → 念候选给用户确认 → create_broker_match,reason 按 reasons 写人话、不写分数。候选 leadId=null 时用 bUserId 建撮合。

Input Schema

NameRequiredDescriptionDefault
leadIdsYes锚点线索 id,最多 8 条(每条一次全站检索)
perLeadNo每条锚点要几个候选,默认 8

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.4/5.0
Behavior5/5

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

Annotations only declare destructiveHint=false, so the description carries the behavioral load and does so: it states login is required, that a billing model is invoked, that looping retries are wrong, and that 429 responses require backing off. It further discloses merge/dedupe semantics and that the top score plus all reasons are preserved, which is real behavior an agent could not infer from 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?

Every clause carries information — cost model, rate limits, merge behavior, parameter strategy, workflow position, and the bUserId fallback — with little filler. The cost is structure: semicolon-chained clauses front-load warnings instead of the tool's purpose, making it dense to parse on first read.

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, the description still exposes the shape of results (score, reasons, leadId possibly null, bUserId) and the auth and billing preconditions. It lacks detail on result volume per anchor or how reasons are ordered, but covers enough for correct invocation and downstream handoff.

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 defines both parameters and their bounds, making 3 the baseline. The description adds strategy beyond the schema: multiple leadIds for broad pool scanning versus a small perLead, and perLead=20 as the escape hatch for a difficult single anchor.

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 conveys a specific action and scope: one full-site search per anchor lead, merging private-pool and site-wide candidates with cross-anchor dedupe and highest-score retention. It is distinguishable from siblings (list_broker_leads feeds it, create_broker_match consumes it). However, the purpose is buried behind operational warnings rather than stated up front, so an agent must read several clauses before knowing what the tool returns.

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?

The pipeline 'list_broker_leads → 本工具 → 念候选给用户确认 → create_broker_match' explicitly names when to use it and which siblings precede and follow it. It also gives selection heuristics: many leadIds with small perLead for pool-wide scanning, perLead=20 for a hard single match, plus a fallback instruction when candidate leadId is null.

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