Skip to main content
Glama

独行录 / opcmenu

保存合作方案

save_cooperation_plan

仅用户明确要求保存时新增/编辑本人合作方案;看/改草稿、待确认不等于授权或已保存。新建须purpose=GENERAL通用或TARGETED专属(targetUserId);缺省LEGACY不能新发送。旧稿/切用途须Agent ADAPT_PURPOSE整理并预览确认,不能只改标签。默认PRIVATE+DRAFT;仅GENERAL经明确同意可PUBLIC。PUBLISHED须标题/摘要/背景/理想合作方/合作方式/对方收益完整,PRIVATE+PUBLISHED仅定向发送。contentFormat默认纯文本,markdown支持#~###、粗体、列表、引用、表格、分隔线,禁图片/HTML;旧App显示原文。sectionTitles每项≤20字,省略固定标题。

Input Schema

NameRequiredDescriptionDefault
idNo
planYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / plan / properties / derivedFromId
      Added value: +{
      +  "anyOf": [
      +    {
      +      "maxLength": 100,
      +      "minLength": 1,
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null
      +}
  2. Changed2 schema fields changed
    • addedInput schema / properties / plan / properties / contentFormat
      Added value: +{
      +  "default": "plain",
      +  "enum": [
      +    "plain",
      +    "markdown"
      +  ],
      +  "type": "string"
      +}
    • addedInput schema / properties / plan / properties / sectionTitles
      Added value: +{
      +  "additionalProperties": false,
      +  "default": {},
      +  "properties": {
      +    "advantages": {
      +      "$ref": "#/properties/plan/properties/sectionTitles/properties/description"
      +    },
      +    "cooperationModes": {
      +      "$ref": "#/properties/plan/properties/sectionTitles/properties/description"
      +    },
      +    "description": {
      +      "type": "string"
      +    },
      +    "nextSteps": {
      +      "$ref": "#/properties/plan/properties/sectionTitles/properties/description"
      +    },
      +    "partnerBenefits": {
      +      "$ref": "#/properties/plan/properties/sectionTitles/properties/description"
      +    },
      +    "partnerProfile": {
      +      "$ref": "#/properties/plan/properties/sectionTitles/properties/description"
      +    }
      +  },
      +  "type": "object"
      +}
  3. Changed4 schema fields changed
    • addedInput schema / properties / plan / properties / expectedUpdatedAt
      Added value: +{
      +  "format": "date-time",
      +  "type": "string"
      +}
    • addedInput schema / properties / plan / properties / purpose
      Added value: +{
      +  "default": "LEGACY",
      +  "enum": [
      +    "GENERAL",
      +    "TARGETED",
      +    "LEGACY"
      +  ],
      +  "type": "string"
      +}
    • addedInput schema / properties / plan / properties / purposeReviewConfirmed
      Added value: +{
      +  "type": "boolean"
      +}
    • addedInput schema / properties / plan / properties / targetUserId
      Added value: +{
      +  "anyOf": [
      +    {
      +      "maxLength": 100,
      +      "minLength": 1,
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null
      +}
  4. Added

TDQS

A4.2/5.0
Behavior4/5

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

With no annotations supplied, the description carries substantial behavioral context: explicit consent for saving, default PRIVATE+DRAFT, restrictions on PUBLIC and LEGACY, PUBLISHED completeness requirements, and markdown limitations. It still omits some mutation behavior, such as how omitted fields are handled on edit, whether the operation is an upsert, and concurrency behavior for expectedUpdatedAt.

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 critical authorization gate is front-loaded, and the dense clauses are mostly necessary business rules rather than filler. However, the single paragraph of semicolon-separated constraints is hard to scan and could be structured more clearly for agent use.

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 complex mutation tool with no annotations and no output schema, the description covers core save, publication, visibility, and formatting rules. It remains incomplete for edit-vs-create identification via id, reference handling, concurrency, and expected return behavior, leaving meaningful gaps for an agent invoking the tool correctly.

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 0% and the nested plan object has many undocumented fields. The description clarifies important enums and defaults for purpose, status, visibility, contentFormat, targetUserId, and sectionTitles, but it does not explain the top-level id or several meaningful fields such as references, importId, derivedFromId, expectedUpdatedAt, purposeReviewConfirmed, and negotiable, so it only partially compensates.

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 states a specific operation on a specific resource: only when the user explicitly requests saving should it add or edit the user's own cooperation plan. It also distinguishes this action from viewing or changing a draft and from pending confirmation, so an agent can tell what this tool is for.

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

Usage Guidelines5/5

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

It gives explicit when-to-use and when-not-to-use rules: save only on an explicit user request, and do not treat viewing or editing a draft as authorization. It also states prerequisites for new plans (GENERAL or TARGETED with targetUserId; LEGACY cannot be newly sent) and for old drafts or purpose switches (use Agent ADAPT_PURPOSE and preview confirmation).

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