Skip to main content
Glama

Write the whole proposal (all chapters) / 一键写整本标书(逐章串行 + 章间回填)

proposal_write_all

Write the whole proposal (all chapters) / 一键写整本标书(逐章串行 + 章间回填) | USE WHEN: the user wants a complete proposal in one call; chapters run serially with back-fill (research gap → innovation, objectives → contents) so terms and numbers stay consistent. This is a LONG task (minutes): do not call it twice and do not report fake progress | ALIASES: 一键写标书, 整本标书, 全文标书, 生成整份标书, 写完整标书, proposal full text, whole proposal, write all chapters, complete proposal | RETURNS: sections(已写章节 key 列表) + word_count + total_time

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": {
      "proposal_id": "<proposal_id>"
    },
    "name": "proposal_write_all"
  }
}

Input Schema

NameRequiredDescriptionDefault
materialsNo本次临时补充材料(形状同 act_proposal_materials_fill 的 materials),覆盖库里同名键
proposal_idYes标书 id

Output Schema

NameRequiredDescriptionDefault
costNo
resultYes业务字段,键见 description 的 RETURNS 段
successYes
data_sourceYeslocal_computation|external_corpus|llm_generated|user_data|pending
engine_statusYesok|queued|error|unavailable|not_run

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.2/5.0
Behavior4/5

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

The annotations already declare readOnlyHint=false, idempotentHint=false and openWorldHint=true, but the description adds real behavioral context beyond them: serial chapter execution with back-fill (research gap → innovation, objectives → contents) for term and number consistency, plus the multi-minute runtime and the no-retry warning. It never says whether existing chapters are overwritten or what happens on partial failure, which is a meaningful gap for a non-destructive-flagged write tool.

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 pipe-delimited structure is front-loaded: the action comes first, then USE WHEN, then the operational warning, then aliases, then return shape. The alias list is long but serves retrieval matching, and no sentence is redundant with the name or title alone.

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 long-running, open-world, non-idempotent write tool, the definition covers duration, ordering semantics, retry policy and the return payload (sections, word_count, total_time). Missing is any statement about overwriting existing chapters, cost, or cancellation behavior, which leaves a residual risk an agent cannot assess.

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 both parameters (proposal_id and the nested materials object) are already documented in the schema, and the description adds no usage nuance such as what happens when materials keys collide with stored ones. The 'RETURNS' line describes output rather than inputs. Baseline 3 applies when the schema does the heavy lifting.

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 verb and resource ('Write the whole proposal (all chapters)') plus the Chinese equivalent, which separates it from proposal_write_section by scoping it to the entire book, not a single chapter. The parenthetical '(all chapters)' and the alias list ('whole proposal', 'write all chapters') make the scope unambiguous.

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 'USE WHEN' clause gives a clear trigger condition ('the user wants a complete proposal in one call') and adds an explicit exclusion ('do not call it twice'). It does not name the chapter-level alternative (proposal_write_section), so an agent must infer that a request for one chapter is not this tool, but the practical guidance is still strong.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources