xpay tools logo
  • Tools
  • Collections
  • Skills
  • Docs
  • xpay.sh
Tool Skill
Math logo

Modulo

modulo

Divides two numbers and returns the remainder

$0.01/call
Flat rate
Math
Raw SKILL.mdTool Page

When to Use

Use this tool when you need to divides two numbers and returns the remainder. 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:

  1. xpay_details — Get full input schema: xpay_details("math/modulo")
  2. xpay_run — Execute: xpay_run("math/modulo", { ...inputs })

Input Parameters

ParameterTypeRequiredDescription
numeratornumberYesThe number being divided (numerator)
denominatornumberYesThe number to divide by (denominator)

Pricing

  • Cost: $0.01/call
  • Balance check: Use xpay_balance to 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
  • Subtract — $0.01/call
  • Multiply — $0.01/call
  • Division — $0.01/call
  • Sum — $0.01/call

Links

  • Tool page: https://xpay.tools/math/modulo/
  • Provider: https://xpay.tools/math/
  • All tools: https://xpay.tools/explore
How to Execute
// 1. Get full schema
xpay_details("math/modulo")
// 2. Execute
xpay_run("math/modulo", { ...inputs })
Input Parameters
ParameterTypeRequiredDescription

numerator

number
Yes

The number being divided (numerator)

denominator

number
Yes

The number to divide by (denominator)

Related Tools from Math
Add — $0.01Subtract — $0.01Multiply — $0.01Division — $0.01Sum — $0.01Mean — $0.01Median — $0.01Mode — $0.01
Install Skill
Claude Code
claude /install-skill https://xpay.tools/skills/math/modulo/SKILL.md
CLI
npx @xpaysh/cli install math/modulo
Manual
curl -o SKILL.md https://xpay.tools/skills/math/modulo/SKILL.md
Pricing

Cost

$0.01/call

Model

Flat rate

Provider

Math

xpay tools logo

Marketplace for AI Capabilities. Run agents, tools & prompts with pay-per-use micropayments.

or ask your AI app
Popular Tools
FirecrawlTavilyExaHunterPerplexityRecraftIdeogramFlux
Collections
AI Image & MediaContent & ResearchDev ToolsFinanceLead GenWeb ScrapingCompetitive Intel
Developers
DocumentationAPI ReferenceQuickstartSDKsSkillsskill.mdllms.txt
Resources
The Agentic EconomyAgentic CommerceAgent Frameworksx402 ProtocolBlog
Company
About xpayxpay.shGitHubDiscordTwitter / X

© 2026 Agentically Inc. All rights reserved.
Privacy PolicyTerms of Service