Skip to main content
Glama

search_cases

Find same-background success cases and interview requirements by role, education, company, and city, aggregating local knowledge, Nowcoder, GitHub, and target job descriptions.

Instructions

搜寻同背景成功经验与面试要求(聚合本地知识库 + 牛客面经 + GitHub 经验帖 + 目标企业 JD)。

何时调用:

  • analyze_gaps step 2「案例搜寻」——独立步骤,一次调用替代散抓,结果直接展示给用户

  • explore_goals / generate_roadmap 需要同背景案例佐证方向可行性时

Args: role: 岗位方向(如 "AI Agent 开发"、"后端") education: 学历条件,支持「双非本」「211硕」「985」「专科」等(五档四层自动归一, 展开为搜索关键词 + 精确打分;给不出想去档位就留空) company: 目标公司(可选,命中官方源时按面试要求口径补 JD;"字节"/"boss" 等别名可直传) city: 城市(可选,官方/BOSS 源生效) kind: "both"(默认)/ "success"(只要成功经验)/ "requirements"(只要面试要求) limit: 返回条数上限(默认 12)

Returns: 两节案例卡:同背景成功经验(学历标签/届别/来源/要点)+ 面试要求(JD 口径,boss 含薪资)。 各源独立失败不隐身——warnings 如实上报,绝不编造。

纪律:

  • 每条案例卡展示给用户时必须标注来源(平台/url/时间);

  • 本工具是 analyze step 2 的必调项,不得用 fetch_company_jobs 散抓替代;

  • 共性要求沉淀为差距分析输入(match_score 校准 / red flags / 优先行动)。

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": {
      "role": "<role>"
    },
    "name": "search_cases"
  }
}

Input Schema

NameRequiredDescriptionDefault
cityNo
kindNoboth
roleYes
limitNo
companyNo
educationNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

A4.6/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 does well: it discloses the multi-source aggregation, per-source independent failure with warnings surfaced rather than silently dropped, an anti-fabrication guarantee, the two-section return shape, and that boss-sourced entries include salary. It omits whether the boss source requires a prior boss_login, and says nothing about latency/cost for a multi-source fetch, which are the remaining behavioral gaps.

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 heavily front-loaded and labeled (何时调用 / Args / Returns / 纪律), which makes it easy to scan. The only waste is redundancy between the 纪律 block's "不得用 fetch_company_jobs 散抓替代" and "必调项" claims, which restate what the triggering section already said.

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 6-parameter, annotation-free aggregator with an output schema, this is nearly complete: it covers trigger conditions, full parameter meaning, return sections, and failure semantics. The one thing an agent might still trip on is whether boss-derived results require boss_login first, which is not stated anywhere in the definition.

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 coverage is 0%, so the description must compensate, and it does: every one of the 6 parameters is explained, including education's accepted values ("双非本"/"211硕"/"985"/"专科") and its five-tier/four-level auto-normalization plus guidance to leave it blank when unsure, company alias passthrough ("字节"/"boss"), and city being effective only on official/BOSS sources. Notably it supplies kind's value set ("both"/"success"/"requirements") even though the schema declares no enum.

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 opens with a specific verb and resource: search for successful cases with a similar background plus interview requirements, explicitly scoped as an aggregation over a local knowledge base, Nowcoder interview posts, GitHub experience threads, and target-company JDs. It names the sibling it replaces ("不得用 fetch_company_jobs 散抓替代"), so an agent can distinguish it from fetch_company_jobs without opening either schema.

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?

There is an explicit "何时调用" block listing two concrete triggers: analyze_gaps step 2 (case search, one call replacing scattered fetching) and explore_goals/generate_roadmap when peer-case evidence is needed. It also states the negative case — do not substitute fetch_company_jobs for scattered grabbing — and declares itself mandatory for analyze step 2.

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