Skip to main content
Glama

ScorpTech x402 Tools

Bezier Tangent

bezier_tangent
Read-onlyIdempotent

Tangent vector of a quadratic or cubic Bezier at t. It is the derivative curve evaluated at t. The arch (0,0), (0,1), (1,1), (1,0) at one half has tangent (3/2, 0). Returns JSON with: t, x, y. Price: $0.001 USDC per successful call (x402, Base or Solana). Same tool over HTTPS: POST https://scorptech.it.com/api/x402/v1/bezier-tangent

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_tangent"
  }
}

Input Schema

NameRequiredDescriptionDefault
tYes
pointsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, open-world behavior, so the description does not need to restate safety. It adds genuinely new context: the response shape (JSON with t, x, y), the per-call price of $0.001 USDC via x402 on Base or Solana, and an equivalent HTTPS endpoint. The payment requirement in particular is behavior an agent must know before invoking. It does not cover error behavior for a failed payment call, which keeps it from 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?

The definition leads with the core meaning, then the example, then the return shape and pricing — a sensible front-loaded order. The pricing and endpoint sentences are longer than the mathematical content but they carry real information, so little is wasted.

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 two-parameter numeric tool with no output schema, the description supplies the return fields, a worked example, and the payment mechanics, which is most of what an agent needs. The remaining gap is precise input formats for the undocumented t string and points array.

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 coverage is 0%, so the description carries the full burden. It implies points is a control polygon of 3 (quadratic) or 4 (cubic) entries matching maxItems 4, and the 'at one half' example hints t accepts fractional wording despite being a string of maxLength 40. But neither the coordinate format for points nor the accepted syntax for t is stated outright, so compensation is only partial.

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 two sentences give a specific verb and object — 'Tangent vector of a quadratic or cubic Bezier at t' — and clarify it is the derivative curve evaluated at t. That is enough for an agent to know it computes a tangent rather than polynomial coefficients. It does not, however, explicitly separate itself from nearby siblings such as bezier_derivative, so it stops short of 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 Guidelines3/5

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

Usage is only implied: the worked arch example shows the kind of call intended, from control points plus a half-parameter to a tangent of (3/2, 0). There is no statement of when to prefer this over bezier_derivative or bezier_cubic, and no exclusions or prerequisites beyond the payment note.

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