Skip to main content
Glama

ScorpTech x402 Tools

Css Angle

css_angle
Read-onlyIdempotent

Convert a CSS angle among deg, grad, turn and pirad. A degree is 1/360 turn, a gradian is 1/400 turn, and one pirad is π radians, which is half a turn. A raw radian value is rejected because π is not rational. Exact rationals. Returns JSON with: value, unit, deg, degFraction, grad, gradFraction, turn, turnFraction. Price: $0.001 USDC per successful call (x402, Base or Solana). Same tool over HTTPS: GET https://scorptech.it.com/api/x402/v1/css-angle

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": {
      "value": "<value>"
    },
    "name": "css_angle"
  }
}

Input Schema

NameRequiredDescriptionDefault
valueYes

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 readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint, so the safety profile is covered. The description adds genuinely new behavioral context the annotations do not: exact-rational output semantics, the enumerated return fields, the $0.001 USDC x402 price per successful call, and the equivalent HTTPS endpoint.

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?

Purpose and unit semantics are front-loaded in the first two sentences, with return fields, pricing and endpoint appended. The turn-fraction definitions are slightly didactic but are short and directly relevant to exact-rational conversion, 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 one-parameter read-only converter with no output schema, the description covers the essentials: valid units, rejected input, exact output field names, cost, and an alternate transport. The remaining gap is the input string format, which is the one thing an agent could still get wrong on a first call.

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% and the schema only says value is a string of maxLength 80, so the description must carry the burden. It helpfully explains which units are valid and that radians are rejected, but never shows the accepted string syntax (e.g. '45deg' vs '45 deg') or how the unit is signaled inside the single value parameter.

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 description opens with a specific verb+resource: 'Convert a CSS angle among deg, grad, turn and pirad.' That clearly separates it from the css_length/css_resolution/css_time siblings, though it never names them or states that non-angle CSS units belong elsewhere.

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?

It gives useful in-scope constraints — accepted unit set and the fact that raw radians are rejected because π is irrational — which tells the agent what input is invalid. It offers no explicit when-to-use framing versus alternatives or prerequisites, so guidance is implied rather than stated.

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