Skip to main content
Glama

boss_stats

Generates read-only conversion funnel statistics by aggregating greetings, applications, candidate pool, and monitoring data over a configurable window.

Instructions

投递转化漏斗统计(只读聚合打招呼、投递、候选池、监控数据) [可用性: roles=candidate; candidate_platforms=zhipin; recruiter_platforms=-]

Input Schema

NameRequiredDescriptionDefault
daysNo统计窗口天数
formatNo输出格式;html 生成自包含报表json
output_fileNoHTML 输出路径(仅 format=html 时生效,只给 output_file 会返回 INVALID_PARAM)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed6 schema fields changedv3.4.122
    • addedInput schema / if
      Added value: +{
      +  "required": [
      +    "output_file"
      +  ]
      +}
    • addedInput schema / properties / days / maximum
      Added value: +36500
    • addedInput schema / properties / days / minimum
      Added value: +0
    • addedInput schema / properties / format / minLength
      Added value: +1
    • changedInput schema / properties / output_file / description
      Previous value: -"HTML 输出路径(仅 format=html 时生效)"New value: +"HTML 输出路径(仅 format=html 时生效,只给 output_file 会返回 INVALID_PARAM)"
    • addedInput schema / then
      Added value: +{
      +  "properties": {
      +    "format": {
      +      "const": "html"
      +    }
      +  },
      +  "required": [
      +    "format"
      +  ]
      +}
  2. Changed3 schema fields changedv3.3.0
    • addedInput schema / additionalProperties
      Added value: +false
    • addedInput schema / properties / format
      Added value: +{
      +  "default": "json",
      +  "description": "输出格式;html 生成自包含报表",
      +  "enum": [
      +    "json",
      +    "html"
      +  ],
      +  "type": "string"
      +}
    • addedInput schema / properties / output_file
      Added value: +{
      +  "description": "HTML 输出路径(仅 format=html 时生效)",
      +  "type": "string"
      +}
  3. Addedv1.19.1
  4. Removedv1.18.0
  5. Addedv1.17.0
  6. Removedv1.16.0
  7. First observedv1.11.0

TDQS

B3.4/5.0
Behavior3/5

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

With no annotations, the description must carry behavior, and it does disclose the most important trait: the operation is read-only and purely aggregative. It says nothing about latency, data freshness, or what happens when days exceeds available history, so a mutation-free but otherwise opaque profile remains.

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?

One front-loaded clause states the resource and its data sources, with the availability constraint appended in a compact bracket. No filler, though the bracket syntax is somewhat opaque to an agent unfamiliar with the tagging convention.

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

Completeness3/5

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

For a three-parameter, annotation-free, output-schema-free tool, the definition covers what is counted and that it is read-only. It does not indicate which metrics the funnel returns or whether the window applies uniformly across all four sources, leaving the agent to call it somewhat blind.

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 100%, so days, format and output_file are already documented in the schema, including the conditional constraint that output_file without format=html returns INVALID_PARAM. The description adds no extra meaning about how days interacts with each aggregated source.

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?

Names a specific operation and resource: a read-only conversion-funnel aggregation over greetings, applications, candidate pool and monitoring data. That is distinguishable from data-fetching siblings such as boss_detail or boss_chatmsg, though it does not explicitly contrast itself with boss_agent_stats.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The bracketed availability tag (roles=candidate; candidate_platforms=zhipin; recruiter_platforms=-) gives a hard gating condition, which is real guidance on when the call will succeed. It does not say when to prefer this funnel view over the sibling stats tool, so usage is only implied.

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