Skip to main content
Glama

check sales rebates

check_sales_rebates
Read-onlyIdempotent

Sales rebate (판매장려금) check: rebate due per partner from contract tiers, optional aggregation of related partners in a group, overpayment (hold) and underpayment (review) against requests, related-party rates above the unrelated range (부당행위계산 부인 risk), group splits that would change the tier, and Korean VAT/corporate tax notes with statutes. Same engine as tools.oiyo.net.

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": {
      "tiers": "<tiers>",
      "partners": "<partners>",
      "aggregateGroups": "<aggregateGroups>",
      "armsLengthCheck": "<armsLengthCheck>"
    },
    "name": "check_sales_rebates"
  }
}

Input Schema

NameRequiredDescriptionDefault
tiersYesContract tiers
partnersYesPartners
aggregateGroupsYesContract allows group sales to be combined for the tier
armsLengthCheckYesCompare related-party rates with the unrelated range

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, and destructiveHint=false, so safety is covered; the description goes further and discloses what the analysis surfaces (hold vs review classifications, 부당행위계산 부인 risk flags, group-split warnings, statute citations). What is missing is how results are shaped or whether inputs are validated/rejected, but the added risk-classification context is substantive.

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?

Front-loaded with the resource and verb, then a single dense clause list where each item maps to a real output or risk. Minor waste in the Korean term gloss duplication and the 'Same engine as tools.oiyo.net' tail, which carries no decision value for an agent.

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

Completeness3/5

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

With four required, fully-described parameters and rich annotations, the description is close to complete, but with no output schema the description carries the burden of describing the return shape and it only names result categories without saying how they are organized. An agent knows what the tool checks but not what the response looks like.

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 100%, so the baseline is 3, but the prose adds business meaning beyond the schema one-liners: group aggregation is tied to contract permission, armsLengthCheck is explained as comparing related-party rates against the unrelated range, and 'group splits that would change the tier' explains why grouping matters. This gives the agent a reason to set the booleans correctly rather than just their type.

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?

States a specific calculation ('rebate due per partner from contract tiers') and then enumerates the distinct checks performed: overpayment hold, underpayment review, related-party arms-length risk, group-split tier changes, and Korean VAT/corporate tax notes. An agent can tell exactly what computation and what validation output to expect from this tool.

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?

Usage is implied by the enumerated scope (use when you need to compute partner rebates and screen for Korean tax risk), but there is no explicit when-to-use/when-not statement, no prerequisites, and no named alternative. The trailing 'Same engine as tools.oiyo.net' is a provenance note, not guidance.

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.