Skip to main content
Glama

retrieve_report_evidence

Retrieves cited evidence from project drafts, industry standards, and authoritative web sources so report sections use verifiable inline references instead of fabricated sources.

Instructions

执行三源深度 RAG 检索(1. 项目底稿向量库【源:文件名】 + 2. 行业标准规程库【标:标准名称】 + 3. 百度免 Key 权威联网检索【网:标题】)。

宿主大模型在撰写报告章节时,必须仅使用本工具返回的【源:...】、【标:...】、【网:...】标签作为行内引用,严禁虚构出处。

参数:
    query: 检索关键词或当前小节核心主题。
    project: 项目名称(若已通过 ingest_project_materials 导入底稿,传入对应项目名以检索本地底稿库)。
    chapter_title: 当前撰写的章节标题(用于智能提炼高命中率行业与政策检索词)。
    report_type: 报告类型(默认 "可行性研究报告")。
    include_generic: 是否检索内置行业规程与通用标准库(默认 True)。
    include_web: 是否执行免 Key 权威联网检索(默认 True;离线环境或纯底稿测试可设为 False)。
    n_results: 每个来源返回的最大片段数(1~15,默认 5)。

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": {
      "query": "<query>"
    },
    "name": "retrieve_report_evidence"
  }
}

Input Schema

NameRequiredDescriptionDefault
queryYes
projectNo
n_resultsNo
include_webNo
report_typeNo可行性研究报告
chapter_titleNo
include_genericNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.5/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 three retrieval backends, the citation-tag contract, the anti-fabrication rule, and operational defaults (Baidu key-free, offline fallback). It does not discuss failure modes or result merging behavior, but the core behavior is well conveyed.

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?

Front-loaded with the three-source purpose, followed by the citation rule and a compact parameter rundown. It is dense but each section earns its place; the parameter block partially restates the schema but adds the descriptions the schema lacks.

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 complex multi-source retrieval tool with seven parameters and an output schema, the description provides everything an agent needs: purpose, citation contract, parameter meanings, and defaults. Return-value format is covered by the output schema, so its absence from the description is appropriate.

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%, so the description must compensate and it does: every one of the seven parameters is explained with meaning, defaults (report_type, include_generic, include_web, n_results=5), and the n_results range (1~15). This fully covers the gap left by the bare schema.

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 names a specific action (three-source deep RAG retrieval) and enumerates exactly what those three sources are, including the citation tag each returns (【源:...】/【标:...】/【网:...】). This is far more than a restatement of the name and lets an agent understand precisely what the tool produces.

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 clear when-to-use guidance: the host model writing report chapters must use only this tool's tagged results as inline citations. It also notes include_web should be disabled in offline environments and references ingest_project_materials as the prerequisite for local draft retrieval. It stops short of explicitly contrasting with siblings like verify_report_consistency or draft_chapter_with_engine, so not a full 5.

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