Tool Skill
Subtract
subtractSubtracts the second number from the first number
$0.01/call
Flat rate
Math
When to Use
Use this tool when you need to subtracts the second number from the first number. This is part of the Math provider on xpay✦.
MCP Connection
Connect to xpay✦ to access this tool (and 21+ others):
{
"mcpServers": {
"xpay": {
"url": "https://mcp.xpay.sh/mcp?key=YOUR_API_KEY"
}
}
}
For Claude Code:
claude mcp add --transport http xpay "https://mcp.xpay.sh/mcp?key=YOUR_API_KEY"
How to Execute
Use the xpay✦ meta-tools to run this tool:
xpay_details— Get full input schema:xpay_details("math/subtract")xpay_run— Execute:xpay_run("math/subtract", { ...inputs })
Input Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
minuend | number | Yes | The number to subtract from (minuend) |
subtrahend | number | Yes | The number being subtracted (subtrahend) |
Pricing
- Cost: $0.01/call
- Balance check: Use
xpay_balanceto check remaining credits - Get your API key at xpay.tools — $5 free credits included
Related Skills
- Math (all tools) — 22 tools
- Add — $0.01/call
- Multiply — $0.01/call
- Division — $0.01/call
- Sum — $0.01/call
- Modulo — $0.01/call
Links
- Tool page: https://xpay.tools/math/subtract/
- Provider: https://xpay.tools/math/
- All tools: https://xpay.tools/explore
How to Execute
// 1. Get full schema
xpay_details("math/subtract")// 2. Execute
xpay_run("math/subtract", { ...inputs })Input Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
minuend | number | Yes | The number to subtract from (minuend) |
subtrahend | number | Yes | The number being subtracted (subtrahend) |
Install Skill
Claude Code
claude /install-skill https://xpay.tools/skills/math/subtract/SKILL.md
CLI
npx @xpaysh/cli install math/subtract
Manual
curl -o SKILL.md https://xpay.tools/skills/math/subtract/SKILL.md
Pricing
Cost
$0.01/call
Model
Flat rate
Provider
Math

