Skip to main content
Glama

独行录 / opcmenu

通过顾问整理合作方案

edit_cooperation_plan_with_agent

按用户事实起草/改稿,不保存/公开/发送。保留purpose/targetUserId;通用正文不围绕入口对象,专属只围绕target;旧稿/切用途intent=ADAPT_PURPOSE重整。选定对象传context.entryPoint/peerId及可选conversationId。返回简答、最多一关键问题和有权引用的suggestedReferences;推荐非关联,确认后才入draft.references。顾问失败照报,可展示本对话改稿,不能转保存;仅明确要求保存才调用保存工具,认可草稿非写入授权。

Input Schema

NameRequiredDescriptionDefault
draftNo
intentNoREFINE
contextNo
historyNo
messageYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / context / properties / focusNeedId
      Added value: +{
      +  "maxLength": 100,
      +  "minLength": 1,
      +  "type": "string"
      +}
  2. Changed3 schema fields changed
    • addedInput schema / properties / context / properties / needId
      Added value: +{
      +  "maxLength": 100,
      +  "minLength": 1,
      +  "type": "string"
      +}
    • addedInput schema / properties / context / properties / productId
      Added value: +{
      +  "maxLength": 100,
      +  "minLength": 1,
      +  "type": "string"
      +}
    • addedInput schema / properties / draft / properties / derivedFromId
      Added value: +{
      +  "anyOf": [
      +    {
      +      "maxLength": 100,
      +      "minLength": 1,
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null
      +}
  3. 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"
      +}
  4. 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"
      +}
  5. 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"
      +}
  6. Added

TDQS

A4.4/5.0
Behavior5/5

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

Annotations only supply destructiveHint=false, so the description carries the load and does so: no persistence/publication/sending, the return contract (short answer, at most one key question, suggestedReferences with citation rights), the rule that recommendations stay non-binding until confirmed, and advisor-failure behavior that cannot be escalated to a save. This is behavior an agent cannot infer from the schema.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Content density is high with almost no filler, but it is delivered as one long semicolon-chained block mixing purpose, parameter rules, return contract, and failure handling. Only the no-save constraint is front-loaded; the remaining guidance is hard to scan, which weakens selection speed even though nothing is wasted.

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 tool with a deep nested schema and no output schema, the description covers the highest-risk gaps: it spells out return shape, the non-persistence guarantee, the reference-confirmation gate, and degraded behavior on advisor failure. It stops short of explaining draft lifecycle fields (visibility, status, expectedUpdatedAt conflict handling), which is the remaining gap.

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%, so the description must compensate, and it partially does: it explains the intent enum (REFINE vs ADAPT_PURPOSE), what context.entryPoint/peerId/conversationId are for, the preserve rule for purpose/targetUserId, and that references are only populated after confirmation. However, the large nested draft object (status, visibility, sectionTitles, contentFormat, expectedUpdatedAt, purposeReviewConfirmed, history) receives no semantic coverage.

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 first clause states a specific verb+resource (draft/revise a cooperation plan per user facts) and immediately negates the confusable actions (does not save/publish/send), which separates it from save_cooperation_plan and publish-type siblings. An agent can identify the operation and its boundary without consulting the schema.

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 routing rules: use intent=ADAPT_PURPOSE when reorganizing an old draft or switching purpose (default REFINE otherwise), pass context.entryPoint/peerId when an object is selected, and only call the save tool on an explicit save request. It also states that approving a draft is not write authorization, which is a genuine when-not rule.

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