Skip to main content
Glama

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. Price: $0.001 USDC per successful call (x402, 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 declare readOnlyHint, idempotentHint and destructiveHint=false, so the safety profile is covered. The description adds genuinely new operational context: a per-call price of $0.001 USDC via x402 on Solana and an equivalent HTTPS endpoint, both of which matter to an agent deciding whether to spend a call.

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?

The definition is front-loaded in the first clause, followed by examples, range, price and endpoint in a compact block with no filler sentences. The pricing and URL sentences are boilerplate but each carries decision-relevant information.

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?

For a single-parameter, annotation-covered, no-output-schema math tool, the description supplies everything needed to call it correctly: what it computes, the valid domain, sample values and the cost of a call. Only the relation to the sibling sum variant is missing.

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 description coverage is 0%, so the description must carry the parameter meaning, and it does: it anchors the index with concrete values (n=5 -> 24, n=9 -> 282, n=10 -> 500) which let an agent sanity-check its input and output. It restates the 0-80 bound already in the schema, but the worked values add real semantic content.

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?

The first sentence names a specific computed quantity (the number of plane partitions of n), so an agent knows exactly what value it returns. It does not, however, distinguish itself from the sibling plane_partition_sum, which an agent scanning the tool list would likely confuse with it.

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 guidance on when to pick this tool over plane_partition_sum or related partition tools (partition, overpartition, binary_partition). The domain constraint (n from 0 to 80) is stated, but that is a validity limit rather than a usage recommendation.

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