Skip to main content
Glama

独行录 / opcmenu

拒绝或更换安排

decline_dispatch_arrangement

登录;拒绝未接受建议:SWAP换人,WRONG_DIRECTION/OTHER或重排,HAVE_ALREADY/NOT_NOW跳步。或耗LLM/后台排人/通知。超时/结果不明先查现值,禁自动重发;无持久去重键。get_my_dispatch核对。

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": {
      "arrangementId": "<arrangementId>",
      "reason": "<reason>"
    },
    "name": "decline_dispatch_arrangement"
  }
}

Input Schema

NameRequiredDescriptionDefault
noteNo
reasonYes
arrangementIdYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

With no annotations supplied, the description carries the full behavioral burden and does substantial work: it discloses side effects (LLM consumption, backend reassignment, notifications), warns that there is no persistent deduplication key, and forbids automatic resend on timeout or ambiguous results in favor of re-reading current state. What it omits is permission/authorization requirements beyond a bare '登录' and whether the decline is reversible.

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?

The text is short and every clause carries information, but it is compressed into telegraphic fragments joined by semicolons, mixing purpose, per-reason effects, side effects, and retry policy in one block. Clauses like '或耗LLM/后台排人/通知' are ambiguous without expansion. It earns its length but not its readability.

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 three-parameter mutation tool with no annotations, no output schema, and zero schema descriptions, the definition covers the highest-risk gaps: side effects, idempotency absence, and safe handling of unknown outcomes. It is nearly complete; the remaining shortfall is that it never says what a successful response looks like or what authorization the caller needs.

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?

Schema description coverage is 0%, so the description must compensate, and it does for the enum: all five reason values are given distinct downstream consequences that the schema alone does not convey. The other two parameters, arrangementId and note, get no explanation of format or source, which keeps this below a 5.

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 names a specific action on a specific resource: rejecting a not-yet-accepted dispatch suggestion, with the option to swap the assignee or reschedule. It is distinguishable from accept_dispatch_arrangement by the '拒绝' (decline) framing. It stops short of 5 because the telegraphic Chinese phrasing intermixes purpose with per-reason behavior, so the core purpose is not front-loaded as a clean statement.

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

Usage Guidelines3/5

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

It effectively routes the agent among reason values (SWAP=swap person, WRONG_DIRECTION/OTHER=reschedule, HAVE_ALREADY/NOT_NOW=skip step) and points to get_my_dispatch for verification. However, it never states when to pick this tool over accept_dispatch_arrangement or skip_dispatch_step, nor any preconditions beyond logging in. The guidance is implied through the enum mapping rather than stated as when-to-use rules.

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