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. Price: $0.001 USDC per successful call (x402, 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.6/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, openWorld. The description adds genuinely new behavioral context: a $0.001 USDC per-success x402 charge, an HTTPS fallback endpoint, exact-rational results, and a rejection rule for raw radians. Only the shape of the returned value is left unstated.

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 purpose and unit conversion factors are front-loaded in the first sentence, and the constraint follows. The geometric explanations (1/360 turn, half a turn) are mildly educational overhead but do justify the unusual pirad unit; the pricing/endpoint line is compact and relevant.

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

Completeness3/5

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

With no output schema and zero parameter description coverage, the description should close more gaps than it does. It covers cost, endpoint, units and rejection rules well, but leaves both the input string format and the returned representation (exact rational as what?) unexplained for a tool whose entire contract is a value in, value out.

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 single 'value' string parameter is undocumented in the schema, so the description carries the burden. It lists the legal units and rules out radians, but never shows the input format (e.g. "90deg" vs "0.25turn") or whether a target unit can be specified, leaving the caller to guess.

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 states a specific verb and resource — convert a CSS angle among deg, grad, turn and pirad — and enumerates the supported units, so an agent can tell it is not css_length or css_time. It stops short of naming a sibling alternative (e.g. unit_convert), which is the only thing separating it from 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 implied by the domain: use it when you have a CSS angle to convert. There is one useful negative constraint ("A raw radian value is rejected because π is not rational"), but no explicit statement of when to prefer unit_convert instead, nor guidance on valid input formatting.

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