Skip to main content
Glama

独行录 / opcmenu

手动加一条线索

create_broker_lead

【需要登录】往池子里加一条站外线索,十个字段全开(App 的表单只有「姓名」和「他在找什么」两栏,微信/职位/城市/标签在那儿根本填不了)。 【组合链】create_broker_lead → scan_broker_matches(leadIds=[新 id]) → create_broker_match。 【口径】① 手机号是归因锚点——不填,这个人将来注册独行录也算不到你头上;填了且他已经是站内用户,归因当场落袋(返回 claimedUserId 非空即是)。② 服务层不去重,调两次建两条;重复导入请用 import_broker_leads(按手机号合并)。③ 回参的手机号只给后四位。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
cityNo
nameYes
noteNo
tagsNo
phoneNo
titleNo
wantsNo
wechatNo
companyNo
canOfferNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.7/5.0
Behavior5/5

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

The description adds substantial behavior beyond the annotations: login requirement, no deduplication at the service layer, phone number as the attribution anchor with claimedUserId as the success signal, and masked phone numbers in responses. None of this is visible in the annotations alone.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description uses labeled sections and bullet points, front-loading the purpose and then adding workflow and caveats. Every sentence carries distinct, non-redundant information, making it dense yet easy to scan.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 10-parameter create tool with no output schema, the description covers auth requirements, field scope, workflow chain, attribution semantics, dedupe behavior, and response masking. It is complete enough for an agent to call the tool correctly without guessing.

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 description coverage is 0%, so the description must compensate. It does explain phone semantics in depth and mentions fields like wechat/position/city/tags that are unavailable in the App form, but leaves canOffer, note, and title to name inference. It partially compensates but not fully across all 10 parameters.

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 states a specific action and resource: '往池子里加一条站外线索' (add an off-site lead to the pool). It also distinguishes itself from import_broker_leads by explicitly noting the dedupe difference, making it clear this is for manual single-lead creation.

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 description explicitly routes repeated imports to import_broker_leads ('重复导入请用 import_broker_leads(按手机号合并)') and provides the intended follow-up chain (create_broker_lead → scan_broker_matches → create_broker_match). It also explains why this tool is needed despite the App form's limitations.

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