Skip to main content
Glama

fetch_company_jobs

Fetches real-time job postings and interview experiences for a specified company to support skill-gap analysis, salary research, and career roadmaps. Requires a company ID from list_data_sources.

Instructions

搜索指定企业的岗位或面经(实时抓取真实数据)。

何时调用:需要真实岗位数据(差距分析、路线图、薪资行情)或面经数据时调用。 前置条件:先调用 list_data_sources 查看该企业支持的参数,params 只传列出的参数。

Args: company: 企业 ID(通过 list_data_sources 获取) 示例:bytedance params: 搜索参数 JSON 字符串(各企业支持的参数不同) 示例:'{"keyword":"AI Agent", "city":"北京"}'

Returns: 每行一个岗位:标题 | 地点 | 薪资(如有)、链接、内容摘要。 boss 返回岗位(含薪资范围);其余 JD 源不公开薪资(见各源 guide); nowcoder 返回面经,github 返回经验帖。 失败时返回错误原因和恢复建议——此时如实告知用户,不要编造数据。 BOSS 直聘需要登录:未登录会返回 LOGIN_REQUIRED + next_tool=boss_login—— 直接调用 boss_login(action="login")(用户只需扫码),不要再问第二次是否登录; 登录成功后窗口常驻、切成功页、不自动关闭,命令仅作兜底; 不要把登录缺失直接当抓取失败宣布。

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "company": "<company>"
    },
    "name": "fetch_company_jobs"
  }
}

Input Schema

NameRequiredDescriptionDefault
paramsNo{}
companyYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

A4.9/5.0
Behavior5/5

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

No annotations are supplied, so the description carries the full burden and does so: it discloses that data is scraped live, that some sources omit salary, that BOSS requires authentication and returns LOGIN_REQUIRED with a next_tool hint, and that the login window stays resident and does not auto-close. It also instructs the agent to report errors honestly rather than fabricate data, which is the key behavioral guardrail for this tool.

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 structure is strongly front-loaded — purpose, when to call, precondition, args, returns, failure handling — and every section is scannable. The BOSS login paragraph is long and partly repeats the earlier 'don't treat missing login as scraping failure' point, which costs a little tightness but is defensible given how error-prone that path is.

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 two-parameter tool with heterogeneous per-source parameters and an auth-gated source, the description covers purpose, prerequisites, argument derivation, per-source return differences, and error/recovery semantics. An output schema exists, yet the return notes still add value by explaining which sources carry salary and which return interview vs. experience content.

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% for both parameters, so the description must compensate, and it does: company is defined as a company ID obtained from list_data_sources with a concrete example (bytedance), and params is defined as a JSON string whose supported keys vary per company with a concrete example object. That is exactly the missing meaning the bare schema lacks.

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 opening line states a specific verb and resource: search job postings or interview reports (面经) for a named company, with real-time scraping of real data. It further differentiates the concrete data type per source (boss returns jobs with salary, nowcoder returns interview reports, github returns experience posts), so an agent knows exactly what it gets back and how this differs from sibling listing tools.

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?

It gives an explicit when-to-call trigger (gap analysis, roadmap, salary benchmarking, or interview data) plus a hard precondition: call list_data_sources first and pass only the params that source supports. It also specifies the recovery path on failure (LOGIN_REQUIRED + next_tool=boss_login, call boss_login(action="login") and don't re-ask the user), which is real when/when-not guidance rather than inference.

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