Skip to main content
Glama
tanbaohui666-hash

orange_island_commerce_data

贡献利润核算

profit_calculate
Read-onlyIdempotent

Calculates contribution profit from report data using revenue, costs, logistics, platform fees, advertising, and refunds. Flags missing fields for accurate results.

Instructions

使用报表中的真实收入、成本、物流、平台费、广告费和退款计算贡献利润;缺字段会明确提示。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
report_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.7/5.0
Behavior3/5

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

注解已提供readOnlyHint和idempotentHint等安全特性,描述补充了'缺字段会明确提示'的行为信息,增加了价值。但未详细说明计算规则或边界情况,且与注解无矛盾。

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?

描述为一句紧凑的句子,直接说明核心操作并附有错误处理说明,无冗余内容,但稍微长了一点,可以更精简。

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

无输出模式,描述未说明返回值或输出格式。对于简单计算工具,应至少提及结果形式,但描述仅说会提示缺字段,不够完整。

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

Parameters1/5

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

模式覆盖率为0%,描述完全未提及report_id参数的含义或用法。描述只提及'报表',但未说明该参数如何标识报表,未补偿模式中的缺失。

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?

描述明确说明了计算贡献利润的动作,并列出具体数据来源(收入、成本、物流、平台费、广告费、退款),区别于其他获取指标的工具。但未明确提及与兄弟工具的差异,例如与product_metrics_get的区别,因此未达到满分。

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

Usage Guidelines2/5

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

描述仅隐含地表明用于利润计算,未提供显式的使用时机或排除条件,也未提及替代工具。缺少'当使用此工具时'或'在何种情况下不使用'的指导。

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