Skip to main content
Glama

ScorpTech x402 Tools

Plane Partition

plane_partition
Read-onlyIdempotent

The number of plane partitions of n. The values begin 1, 1, 3, 6, 13, 24, so n=5 is 24, n=9 is 282, and n=10 is 500. n runs from 0 to 80. Returns JSON with: n, value. Price: $0.001 USDC per successful call (x402, Base or Solana). Same tool over HTTPS: POST https://scorptech.it.com/api/x402/v1/plane-partition

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "n": "<n>"
    },
    "name": "plane_partition"
  }
}

Input Schema

NameRequiredDescriptionDefault
nYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already establish readOnly, idempotent, non-destructive behavior, so the description's added value is the pricing model ($0.001 USDC per successful call via x402 on Base or Solana), the HTTPS endpoint, and the returned fields. That is real context an agent needs before spending money, though it omits failure behavior (e.g., what happens when n exceeds 80).

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

Conciseness4/5

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

Front-loaded with the definition, then range, then worked examples, then return shape and price. Each element is short, though the pricing and URL sentences are somewhat promotional in tone rather than tool-defining.

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

Completeness4/5

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

A single-parameter lookup tool needs little: the description covers what is computed, the valid domain, sample values, and return shape. With no output schema it correctly states the JSON fields (n, value), leaving only edge-case/error behavior unspecified.

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

Parameters4/5

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

Schema coverage is 0% and the only parameter is an integer with max 80/min 0 already encoded in the schema. The description earns credit by showing concrete input-output pairs (n=5 is 24, n=9 is 282, n=10 is 500), which conveys what the value actually represents beyond type bounds.

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

Purpose4/5

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

States a specific mathematical resource ('the number of plane partitions of n') with a clear verb-less but unambiguous function. It does not name siblings such as plane_partition_sum, so an agent must infer the distinction from the name alone, which keeps it below a 5.

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?

There is no when-to-use or when-not-to-use guidance and no reference to an alternative tool. The stated n range (0-80) and sample values help an agent validate a call but do not say when this tool should be selected over the many partition-related siblings.

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.

Resources