Skip to main content
Glama

cod_profit

Read-onlyIdempotent

Compute true CAC and net cash-on-delivery profit for an Algerian online store, accounting for the return/refusal rate. Returns base and confirmation-call scenarios.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
return_costNoDZD lost per refused/returned parcel (default 600).
product_costYesProduct cost (DZD).
selling_priceYesSelling price per order (DZD).
return_rate_pctNoPercent of confirmed orders refused/undelivered (e.g. 25 for 25%).
ad_cost_per_orderYesAd spend to acquire one confirmed order (DZD).

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already indicate read-only and idempotent. Description adds value by disclosing computational behavior (true CAC, net profit, two scenarios) without contradicting annotations.

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?

Two sentences, no wasted words. First sentence states purpose, second adds detail on scenarios.

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?

No output schema, so description should hint at return format. It mentions 'returns base and confirmation-call scenarios' but lacks explicit output details. Adequate but not fully complete.

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

Parameters3/5

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

Schema coverage is 100%, so baseline is 3. Description does not add extra meaning beyond schema; it only mentions return/refusal rate broadly.

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?

Description clearly states it computes 'true CAC and net cash-on-delivery profit' for an Algerian online store, accounting for return/refusal rate. It distinguishes itself from possible sibling tools by specifying the context and scenarios.

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?

Implies usage when needing profit with returns, but no explicit when-to-use or alternatives among siblings (e.g., order_risk). Lacks guidance on when not to use.

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.

TDQS

A3.9/5.0
Disambiguation5/5

Each tool targets a specific function with clear boundaries. No two tools overlap in purpose.

Naming Consistency4/5

Most tools follow verb_noun pattern (e.g., create_product, delete_product), but some are noun_noun (cod_profit, order_risk) and 'publish' is a bare verb, causing minor inconsistency.

Tool Count5/5

12 tools cover product management, store creation, search, and analytics without being overwhelming. The count feels right for the domain.

Completeness2/5

Missing essential operations like listing products, reading product details, updating stores, or managing orders. Gaps hinder core workflows.

Resources