Skip to main content
Glama

record_claim

Record a citable claim—fact, practitioner experience, or inference—with source, scope, and confidence so job-search insights become reusable evidence for roadmaps and decisions.

Instructions

记录一条可引用结论(事实 / 从业者经验 / 推断)。

何时调用:

  • 抓到 JD/面经/同背景案例,需要把结论沉淀成可引用依据;

  • 用户或 Agent 听到 HR、面试官、在职员工的经验,需要记录原话与适用范围;

  • 路线图阶段准备引用结论前,先确保 claim 已存在。

Args: claim_json: JSON 字符串,包含: statement: 结论原话(必填) claim_type: fact | practitioner_experience | inference(必填) source: {type, name, url, date, sample_size} - fact 必须有 url 或 name; - practitioner_experience 必须有 name(说话人/渠道)。 scope: 适用范围,如 {education: 双非本, role: 后端, channel: 校招} confidence: high | medium | low(默认按类型给) limitation: 局限说明(经验类建议填写) expires_at: 有效期(YYYY-MM-DD,可选)

Returns: JSON:claim id、保存结果、下一步。

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": {
      "claim_json": "<claim_json>"
    },
    "name": "record_claim"
  }
}

Input Schema

NameRequiredDescriptionDefault
claim_jsonYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

A4.2/5.0
Behavior4/5

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

With no annotations at all, the description carries the full behavioral burden and does most of it: it is clearly a write/persist operation, states the validation rules (fact requires url or name; practitioner_experience requires a speaker/channel), gives a default for confidence, and marks expires_at optional. It does not address duplicate claims, update-vs-insert semantics, or failure handling on validation errors, which keeps it below 5.

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 purpose statement is front-loaded, followed by cleanly labeled when-to-call, Args, and Returns sections, so an agent can scan it quickly. The Args block is necessarily long given an opaque JSON-string parameter, though the duplicated indentation makes it slightly heavier than needed.

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 single-parameter write tool with an output schema already present, the definition covers intent, triggers, payload structure, and validation rules thoroughly; the Returns section is redundant but harmless. The remaining gap is lifecycle context — what happens on a duplicate or near-duplicate claim — which matters for a claim-recording store.

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% — the single claim_json parameter is an undescribed string — so the description must fully specify the payload, and it does: every nested field (statement, claim_type with its enum values, source sub-fields, scope examples, confidence enum plus default, limitation, expires_at format) is documented with requiredness and constraints. This is exactly the compensation the low schema coverage demands.

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 ('记录一条可引用结论') and then enumerates the three claim types it accepts (fact / practitioner_experience / inference), so the agent knows exactly what gets created. It stops short of naming a sibling such as list_claims as the read counterpart, so differentiation is only implicit from the shared 'claim' noun.

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?

The '何时调用' block gives three concrete trigger scenarios (captured JD/interview notes, hearsay from HR/interviewers/employees, and pre-citation during roadmap work), which is real when-to-use guidance. There are no explicit when-not-to-use cases or named alternatives, so it lands at 4 rather than 5.

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