Skip to main content
Glama

ScorpTech x402 Tools

Bezier Split

bezier_split
Read-onlyIdempotent

Split a quadratic or cubic Bezier at t by de Casteljau. Left and right are the two new control polygons, and they meet at the point on the curve. Returns JSON with: t, point, left, right. Price: $0.001 USDC per successful call (x402, Base or Solana). Same tool over HTTPS: POST https://scorptech.it.com/api/x402/v1/bezier-split

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": {
      "points": "<points>",
      "t": "<t>"
    },
    "name": "bezier_split"
  }
}

Input Schema

NameRequiredDescriptionDefault
tYes
pointsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent and non-destructive, so the safety burden is light. The description adds genuine context beyond them: the de Casteljau method, the exact returned JSON keys, the per-call price with payment networks, and an alternate HTTPS endpoint. It omits edge-case behavior (e.g. what happens if t is out of [0,1] or points count is wrong), keeping it short of a 5.

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 operation and result semantics, then return shape, then commercial/logistics details. Every sentence is useful for an agent calling a paid endpoint, though the pricing and URL sentence is longer than strictly needed.

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

Completeness5/5

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

For a two-parameter, output-schema-less math tool, the description supplies the algorithm, the returned fields, and payment/transport specifics. An agent can invoke it and interpret the response without further information, with only minor parameter-format details missing.

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

Parameters3/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 parameter meaning. It implies 'points' holds 3 (quadratic) or 4 (cubic) control points and that 't' is the split location, but never states t's numeric range/format despite the schema typing it as a string with maxLength 40, nor explains the nested-array point format.

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?

States a specific verb and resource ('Split a quadratic or cubic Bezier at t') plus the algorithm (de Casteljau) and semantics of the outputs (left/right control polygons meeting at the curve point). This clearly separates it from siblings like bezier_cubic or bezier_tangent, which operate on curves rather than splitting them.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description implies when the tool applies (you have a quadratic or cubic Bezier and want it divided at a parameter), but it never explicitly routes the agent against alternatives such as bezier_cubic or bezier_quadratic, nor states preconditions like valid t range. Usage is inferable but not spelled out.

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