Skip to main content
Glama
rubyLs

@rubyls/yearning-mcp

by rubyLs

审核工单

yearning_audit_order
Destructive

Review SQL audit tickets: approve to execute SQL, reject with reason, or undo the current audit step. Requires confirmation for high-risk approvals.

Instructions

审核工单:agree 同意(末级步骤会触发 SQL 执行)/ reject 驳回 / undo 撤回。flag 为当前审核步骤序号(用 yearning_order_timeline 确认);reject 必须提供 reason。agree 为高危操作,必须 confirm=true。对应 POST /api/v2/audit/order/state

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
flagYes当前审核步骤序号(来自 order_timeline)
delayNo延时执行时间(可选)
actionYes审核动作
reasonNo驳回理由(action=reject 时必填)
confirmYes必须为 true,确认执行审核动作
work_idYes工单号
source_idYes数据源 ID
Behavior4/5

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

Beyond the destructiveHint annotation, the description discloses a critical behavioral trait: agreeing at the final step triggers SQL execution, and it explicitly labels agree as high-risk. This adds important consequences that annotations alone do not convey.

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 a single, well-structured sentence packed with essential operational details. It uses punctuation effectively to separate actions and conditions, with no wasted words.

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 key behavioral aspects needed to use the tool correctly: actions, prerequisites, risk, and confirm requirement. Since there is no output schema, return values are not explained, but the description is sufficient for safe and 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?

Although the schema already describes all parameters (100% coverage), the description enriches the flag parameter with cross-tool usage (use yearning_order_timeline to confirm) and clarifies that reject requires a reason. This adds meaning beyond the raw schema.

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 clearly states the tool audits work orders with three specific actions (agree, reject, undo) and even mentions the corresponding API endpoint. It distinguishes itself from list-oriented siblings like yearning_audit_orders by focusing on state-changing operations for a single order.

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 guidance: use yearning_order_timeline to confirm the current step (flag), provide a reason when rejecting, and set confirm=true for agree. It gives clear context for when to use the tool, though it does not explicitly contrast with alternative tools like yearning_undo_order.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/rubyLs/yearning_mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server