Skip to main content
Glama

save_requirement_profile

Saves a qualitative interpretation of company job requirements after analysis, storing only summaries, priorities, risks, and notes while code verifies all numeric data.

Instructions

保存企业需求的定性解读,数字由代码复核。

何时调用:analyze_company_requirements 返回 analysis_prompt 之后。

Args: analysis_json: JSON 字符串,必须包含 requirement_profile_id 与 interpretation。 interpretation 只允许 summary、priorities、company_notes、risks、notes; 任何数字/列表字段(high_frequency、gaps 等)都会被拒绝。

Returns: 保存摘要 + 下一步(plan_execution_alignment)。

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": {
      "analysis_json": "<analysis_json>"
    },
    "name": "save_requirement_profile"
  }
}

Input Schema

NameRequiredDescriptionDefault
analysis_jsonYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

A4.3/5.0
Behavior4/5

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

With no annotations, the description must carry the full behavioral burden, and it does more than most: it states the server-side validation rule (only summary, priorities, company_notes, risks, and notes are accepted; numeric/list fields are rejected), the prerequisite call, and the suggested next step (plan_execution_alignment). It doesn't say whether an existing profile is overwritten or whether the call is idempotent, which keeps it from a 5.

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 is short and front-loaded: one line of purpose, then labeled sections for 何时调用 / Args / Returns. Every sentence carries information, and nothing is repeated from the schema.

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?

Given an output schema exists, the description doesn't need to fully explain return values, though it does summarize them. Precondition, payload contract, validation, and next step are all covered; the remaining gap is create-vs-overwrite semantics for an existing requirement_profile_id.

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% (a bare string), but the description fully compensates: it specifies that analysis_json must contain requirement_profile_id and interpretation, enumerates the only allowed interpretation keys, and warns which field types will be refused. That is meaning well beyond the schema.

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?

The description uses a specific verb-and-resource pair: 保存 (save) the 定性解读 (qualitative interpretation) of an enterprise 需求 (requirement profile), and explicitly separates that from numeric fields, which 'code re-checks'. It doesn't compare itself directly with the sibling save_* tools, so it falls just short of a 5.

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?

It gives an explicit precondition for when to call (after analyze_company_requirements returns analysis_prompt) and an implicit when-not, namely that numeric/list fields (high_frequency, gaps) are rejected, so those belong in a different save tool. No explicit alternatives are named, but the context is clear from the precondition and the rejection rule.

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