Skip to main content
Glama

minia2a — hosted x402 API marketplace (HTTP)

x402-days-in-month-year

Days In Month Year: Returns the number of days in a given month of a given year using calendar month rollover 🆓 5 free trial calls per signed wallet

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "x402-days-in-month-year"
  }
}

Input Schema

NameRequiredDescriptionDefault
yearNo
monthNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • removedInput schema / properties / month / description
      Removed value: -"Month to process"
    • removedInput schema / properties / year / description
      Removed value: -"Year to process"
  2. First observed

TDQS

C2.7/5.0
Behavior2/5

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

No annotations, so the description carries full burden. It does hint at leap-year handling via 'calendar month rollover' and discloses an x402 access model (5 free trial calls per signed wallet), but says nothing about return format, error cases, year/month validity, or payment/auth behavior beyond the trial note.

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?

Single front-loaded sentence that states the purpose immediately, followed by a short promotional trial note. The emoji ad is extraneous but short, so little is wasted.

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?

For a trivial two-parameter tool with no output schema and no annotations, the definition should at minimum specify accepted formats for month and year and confirm leap-year behavior. It gestures at rollover but leaves both input formats undefined, so an agent cannot call it confidently.

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?

Schema coverage is 0%, so both string parameters are undocumented. The description repeats 'month' and 'year' but adds no format detail — whether month is a number (1-12) or a name, or whether year is 2-digit or 4-digit — which is exactly what an agent needs and the schema does not supply.

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 ('Returns the number of days in a given month of a given year'), which an agent can distinguish from x402-days-in-year and x402-days-in-month. The scope is clear, but it never explicitly contrasts itself with the near-identical siblings (x402-days-in-month, x402-month-days), leaving some overlap ambiguity.

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?

No when-to-use guidance, no prerequisites, and no named alternatives despite several close siblings (x402-days-in-month, x402-days-in-year, x402-month-days). The agent must infer selection purely from the tool name.

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.