Skip to main content
Glama
Ahmedelmonady

Gameball MCP Server

calculateOrderCashback

Calculate the cashback amount for an order based on total paid, discount, and shipping costs.

Instructions

Create cashback

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
emailNo
mobileNo
merchantNoThis object contains deta
lineItemsNoAn array containing detai
totalPaidYes
customerIdNo
totalPriceNo
totalDiscountYes
totalShippingYes
Behavior1/5

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

No annotations are provided, so the description carries full responsibility for disclosing behavior. It reveals no side effects, permissions, or output characteristics. The verb 'create' implies mutation, which contradicts the tool name's implication of a calculation, adding confusion.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness2/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is two words long, which is under-specification rather than concise efficiency. It does not convey any actionable information and fails to earn its place as a standalone description.

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

Completeness1/5

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

Given the high complexity (9 parameters, nested objects, no output schema, no annotations), the description is completely inadequate. It provides no context about what the tool computes, what inputs matter, or what the caller should expect in response.

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?

With 9 parameters and only 22% schema coverage, the description needed to explain key inputs but mentions none. The schema itself has sparse descriptions (e.g., 'This object contains deta'), so the description adds no value in clarifying parameter meanings.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose1/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description 'Create cashback' uses a different verb than the tool name ('calculate') and omits any reference to orders. It is misleading and does not clarify that this tool calculates cashback for an order. It fails to distinguish itself from sibling tools like calculatePaymentCashback.

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?

No guidance is provided on when to use this tool versus alternatives. The description does not mention any context, prerequisites, or exclusions, leaving the agent without criteria for selection.

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/Ahmedelmonady/gbx-mcp-beta'

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