Skip to main content
Glama

minia2a — hosted x402 API marketplace (HTTP)

x402-is-leap-year-num

Is Leap Year Num: Checks whether value is a leap year using the divisible-by-4, 100, and 400 rules 🆓 5 free trial calls per signed wallet

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": "x402-is-leap-year-num"
  }
}

Input Schema

NameRequiredDescriptionDefault
valueYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / required
      Added value: +[
      +  "value"
      +]
  2. Changed1 schema field changed
    • removedInput schema / properties / value / description
      Removed value: -"Value to process"
  3. First observed

TDQS

C2.9/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden. It does add real behavioral context by disclosing the deterministic divisible-by-4/100/400 rule and the paid-access condition ('5 free trial calls per signed wallet'), but it never states the return type (boolean) or what happens once free calls are exhausted.

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?

One tight sentence with the core behavior front-loaded, followed by a short pricing note. No filler, though the pricing clause is appended without a separator that makes its role obvious.

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

Completeness2/5

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

With no annotations, no output schema, and no parameter documentation, the description should say more about input format and return value for a pricing-gated tool. Its single unanswered question, what shape 'value' takes, is exactly what an agent needs to invoke it correctly.

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

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

A single required parameter with 0% schema description coverage, yet the description only repeats the word 'value' without saying whether it should be a year string like '2024', a date, or a number. The accepted input format is left entirely to inference.

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?

States a specific verb and resource ('Checks whether value is a leap year') and even names the rule set applied, so the operation is unambiguous. It does not differentiate itself from the near-identically named sibling x402-is-leap-year, leaving what the '-num' suffix changes unexplained.

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 when-to-use guidance, no exclusions, and no reference to the closely named sibling x402-is-leap-year that an agent could easily confuse it with. Usage is only implied by the purpose statement.

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.