Skip to main content
Glama

select_target_companies

Confirm your target company pool by filtering companies by tier, city, role, and industry, including or excluding specific employers so downstream job collection only covers approved companies.

Instructions

筛选并确认目标企业池(阶段 6)。

何时调用:目标岗位方向已确定,需要把方向落成具体目标企业池时。 本工具只做目录筛选与确认门禁,不抓取 JD、不统计需求。

Args: target_tiers: 目标档位,支持 JSON 数组或逗号/顿号/空格分隔;空则读档案(默认 大厂) bridge_tiers: 桥接档位;空则读档案(默认 中厂) city: 目标城市;空则读档案 role: 目标岗位;空则读档案 industry: 目标行业;空则默认 互联网 include: 额外纳入的企业(id/名称/别名),支持 JSON 数组或分隔符 exclude: 排除的企业,支持 JSON 数组或分隔符;同一企业同时出现时 include 优先 selected_ids: 用户从推荐池中显式圈定的企业(id/名称/别名),支持 JSON 数组或逗号/顿号/分号/空格分隔。作为 allowlist 生效且优先于 include: 未命中的企业一律 excluded,阶段 7 只采集命中的企业。 confirmed: 用户已确认名单时传 true;未确认只生成推荐池,不允许下游

Returns: JSON 字符串:状态、artifact id、按档位分组的企业、可抓/不可抓、 数据缺口与下一步建议。

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "select_target_companies"
  }
}

Input Schema

NameRequiredDescriptionDefault
cityNo
roleNo
excludeNo
includeNo
industryNo互联网
confirmedNo
bridge_tiersNo
selected_idsNo
target_tiersNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

A4.5/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and largely delivers: it discloses the confirmation gate ('未确认只生成推荐池,不允许下游'), precedence rules ('include 优先' over exclude, and selected_ids acting as an allowlist that overrides include and forces non-matches to excluded), and that phase 7 only collects matched companies. It does not disclose side effects such as artifact creation/overwrite on re-run or any permission requirements, which are relevant for a state-persisting tool.

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 definition is front-loaded with purpose and invocation timing, then Args and Returns, so an agent can scan the trigger before the parameter table. Given 0% schema coverage, the per-parameter block earns its space rather than duplicating structured data.

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 nine-parameter, no-annotation workflow gate, the description covers trigger, parameter formats, precedence, gating behavior, and a brief return summary; the output schema carries the full return shape. What is missing is failure handling and state-effects (e.g., whether an existing pool/artifact is replaced), which matter for a confirmation gate that blocks downstream stages.

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

Parameters5/5

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

Schema description coverage is 0% and all nine parameters are bare titles, so the description must compensate, and it does. Every parameter is documented with input format (JSON array or comma/顿号/space separated), fallback behavior ('空则读档案', defaulting to 大厂/中厂/互联网), and interaction semantics for include/exclude/selected_ids.

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 verb and resource, '筛选并确认目标企业池' (filter and confirm the target company pool), and anchors it to workflow phase 6. It also draws an explicit boundary against siblings by declaring '只做目录筛选与确认门禁,不抓取 JD、不统计需求' (catalog filtering only, no JD fetching, no demand counting), so an agent can separate it from JD/statistics tools without reading any schema.

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?

There is an explicit invocation trigger: '目标岗位方向已确定,需要把方向落成具体目标企业池时' (when the role direction is settled and must be turned into a concrete pool). The negative scope ('不抓取 JD、不统计需求') further narrows usage, but no concrete alternative tool is named for the adjacent jobs, leaving routing to inference.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.