Skip to main content
Glama

独行录 / opcmenu

通过顾问整理合作方案

edit_cooperation_plan_with_agent

基于用户事实起草或修改合作方案。draft必须保留用户选定purpose和targetUserId;通用不使用入口对象身份写正文,专属只能围绕target。旧稿/切用途传intent=ADAPT_PURPOSE重新整理,结果预览确认后才能保存。已从个人主页/私聊选择对象时传context的entryPoint、peerId和可选conversationId,顾问不会重新询问找谁。返回简短回复、最多一个关键问题,以及本人有权引用的项目suggestedReferences;必须让用户确认后才能加入下轮draft.references。推荐不是已关联,不会自动保存、公开或发送。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
draftNo
intentNoREFINE
contextNo
historyNo
messageYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / draft / properties / contentFormat
      Added value: +{
      +  "default": "plain",
      +  "enum": [
      +    "plain",
      +    "markdown"
      +  ],
      +  "type": "string"
      +}
    • addedInput schema / properties / draft / properties / sectionTitles
      Added value: +{
      +  "additionalProperties": false,
      +  "default": {},
      +  "properties": {
      +    "advantages": {
      +      "$ref": "#/properties/draft/properties/sectionTitles/properties/description"
      +    },
      +    "cooperationModes": {
      +      "$ref": "#/properties/draft/properties/sectionTitles/properties/description"
      +    },
      +    "description": {
      +      "type": "string"
      +    },
      +    "nextSteps": {
      +      "$ref": "#/properties/draft/properties/sectionTitles/properties/description"
      +    },
      +    "partnerBenefits": {
      +      "$ref": "#/properties/draft/properties/sectionTitles/properties/description"
      +    },
      +    "partnerProfile": {
      +      "$ref": "#/properties/draft/properties/sectionTitles/properties/description"
      +    }
      +  },
      +  "type": "object"
      +}
  2. Changed5 schema fields changed
    • addedInput schema / properties / draft / properties / expectedUpdatedAt
      Added value: +{
      +  "format": "date-time",
      +  "type": "string"
      +}
    • addedInput schema / properties / draft / properties / purpose
      Added value: +{
      +  "default": "LEGACY",
      +  "enum": [
      +    "GENERAL",
      +    "TARGETED",
      +    "LEGACY"
      +  ],
      +  "type": "string"
      +}
    • addedInput schema / properties / draft / properties / purposeReviewConfirmed
      Added value: +{
      +  "type": "boolean"
      +}
    • addedInput schema / properties / draft / properties / targetUserId
      Added value: +{
      +  "anyOf": [
      +    {
      +      "maxLength": 100,
      +      "minLength": 1,
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null
      +}
    • addedInput schema / properties / intent
      Added value: +{
      +  "default": "REFINE",
      +  "enum": [
      +    "REFINE",
      +    "ADAPT_PURPOSE"
      +  ],
      +  "type": "string"
      +}
  3. Changed1 schema field changed
    • addedInput schema / properties / context
      Added value: +{
      +  "additionalProperties": false,
      +  "properties": {
      +    "conversationId": {
      +      "maxLength": 100,
      +      "minLength": 1,
      +      "type": "string"
      +    },
      +    "entryPoint": {
      +      "enum": [
      +        "profile",
      +        "chat",
      +        "library",
      +        "edit",
      +        "import"
      +      ],
      +      "type": "string"
      +    },
      +    "peerId": {
      +      "maxLength": 100,
      +      "minLength": 1,
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "entryPoint"
      +  ],
      +  "type": "object"
      +}
  4. Added

TDQS

A4.3/5.0
Behavior5/5

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

Annotations only state not read-only, not idempotent, not destructive. The description adds substantial behavioral detail: draft must retain user-selected purpose and targetUserId, GENERAL avoids using entry-object identity, TARGETED revolves around target, preview-confirm before saving, advisor won't re-ask the target, references require user confirmation before inclusion, and recommendations are not auto-linked, saved, public, or sent. This goes well beyond annotations.

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 dense but every sentence contributes a distinct operational rule or constraint. It front-loads the main purpose and then adds behavioral and usage conditions; there is no filler or repetition.

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?

The description covers the central workflow: drafting/modifying, intent changes, context passing, preview-before-save, return shape (brief reply, one key question, suggestedReferences), and reference confirmation. It omits details about history and some draft fields, but given the tool's complexity and the agent-driven nature, it is sufficiently complete for correct invocation.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

With 0% schema description coverage, the description compensates by explaining intent (REFINE vs ADAPT_PURPOSE), context fields (entryPoint, peerId, conversationId), and key draft constraints (purpose, targetUserId). It does not explain history or the full set of draft subfields, but those are largely inferable from names and types, and the most critical parameters are covered.

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 clearly states the tool drafts or modifies a cooperation plan based on user facts, and adds scope constraints (preserving purpose and targetUserId, GENERAL vs TARGETED behavior). It does not explicitly name sibling tools like save_cooperation_plan or confirm_cooperation_version, so it falls short of full differentiation but remains 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 description provides concrete when-to-use guidance: pass intent=ADAPT_PURPOSE for old drafts or purpose changes, and include context entryPoint/peerId/conversationId when an object was selected from profile or chat. It does not compare against alternative tools, but the within-tool usage conditions are clear and actionable.

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