Skip to main content
Glama

独行录 / opcmenu

写清某人在目标里负责什么

set_goal_member_contribution
Idempotent

登录;写分工≤60字,null清空且不可省略。get_collaboration_goal取members[].userId/myAccess→改→读回。合作人只改本人,发起人可改他人,否则403。

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": {
      "goalId": "<goalId>",
      "userId": "<userId>",
      "contribution": "<contribution>"
    },
    "name": "set_goal_member_contribution"
  }
}

Input Schema

NameRequiredDescriptionDefault
goalIdYes
userIdYes要改谁(get_collaboration_goal 的 members[].userId)
contributionYes这个人在目标里负责什么,≤60 字;null=清空

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.9/5.0
Behavior4/5

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

Annotations only supply idempotentHint=true and destructiveHint=false; the description adds real context beyond them: an auth requirement (登录), the null-clears-existing-value behavior, the mandatory-vs-omitted distinction for contribution, the 403 permission model, and a read-back verification step. Clearing a field is a value overwrite rather than irreversible deletion, so this does not contradict destructiveHint=false. It does not describe what the response looks like, but with a false destructive flag and idempotency declared the safety profile is adequate.

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?

Four terse clauses, front-loaded with the preconditions (login, character limit) before the workflow and permission rules — no filler sentences. Slightly redundant with the schema on the 60-character cap and the null semantics, but the density earns its place.

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 3-parameter, non-nested write tool with no output schema, the description covers auth, precondition discovery, the valid value shape, the clearing case, permission failure, and a verification step. The only gap is return-shape/pagination detail, which is minor here.

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 67%, and the schema already documents userId (with the members[].userId sourcing hint) and contribution (≤60 chars, null = clear). The description mostly restates those constraints (≤60字, null清空, 不可省略) rather than adding new meaning. It adds the sequencing hint of where userId comes from, which earns a baseline 3, not more.

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?

Names a specific verb+resource: write (写) what a given member is responsible for (分工) inside a goal, keyed by goalId/userId. The operation is distinguishable from the nearby get_collaboration_goal (read) and invite/remove member tools. It stops short of naming any sibling alternative for setting contributions elsewhere, so it is clear but not sibling-differentiated.

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?

Gives an explicit prerequisite workflow: call get_collaboration_goal to read members[].userId and myAccess, then modify, then read back to verify. It also states the permission gate (collaborator may only edit self, initiator may edit others, otherwise 403), which tells the agent when the call will fail. No explicit when-not-to-use case or named alternative tool is offered.

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