Skip to main content
Glama
nad33mahm3d

mcp-crypto-toolkit

by nad33mahm3d

profit_calc

Calculate crypto profit/loss, ROI, and break-even including exchange fees and fixed network/gas fees. Enter buy price, sell price, and quantity; no API key required.

Instructions

Calculate crypto profit/loss, ROI, break-even. Supports exchange fees and fixed network/gas fee. No API needed.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
quantityYes
buy_priceYes
sell_priceYes
network_feeNoFixed network fee in same unit as prices
buy_fee_percentNo
sell_fee_percentNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.3.0

TDQS

B3.3/5.0
Behavior3/5

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

With no annotations, the description carries the behavioral burden. It usefully states that this is a self-contained calculation ('No API needed') and that it accounts for fees, but it does not disclose output shape, rounding, or how fees are applied.

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?

Three short sentences front-load the core function and add the most useful details with no filler. Every sentence earns its place.

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?

For a six-parameter tool with no output schema and minimal schema descriptions, the description is too thin. It omits the expected return values, percentage-fee conventions, and how network fees interact with profit calculations.

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

Parameters2/5

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

Schema description coverage is only 17%, so the description must compensate. It names exchange fees and network/gas fees, which map to the optional params, but it leaves buy_fee_percent and sell_fee_percent units unclear and does not explain the required parameters beyond their names.

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 uses a specific verb and resource: 'Calculate crypto profit/loss, ROI, break-even.' This clearly differentiates it from sibling tools like get_price, convert, and portfolio_value, which address different tasks.

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 given about when to choose this tool over siblings or when not to use it. 'No API needed' hints at scope but does not state alternatives or exclusions.

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