Skip to main content
Glama

x402-is-same-year

Is Same Year: Checks whether two date inputs have the same local year; invalid dates compare as not equal 🆓 5 free trial calls per signed wallet

Input Schema

NameRequiredDescriptionDefault
aNo
bNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • removedInput schema / properties / a / description
      Removed value: -"A to process"
    • removedInput schema / properties / b / description
      Removed value: -"B to process"
  2. Changed2 schema fields changed
    • addedInput schema / properties / a
      Added value: +{
      +  "description": "A to process",
      +  "type": "string"
      +}
    • addedInput schema / properties / b
      Added value: +{
      +  "description": "B to process",
      +  "type": "string"
      +}
  3. First observed

TDQS

A3.8/5.0
Behavior4/5

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

With no annotations present, the description carries the burden and does disclose a genuine edge-case rule: invalid dates compare as not equal, which is exactly the kind of error semantics an agent needs. It also notes the wallet/pricing gate (5 free trial calls). It stops short of stating the return type (boolean) or how date strings are parsed for the 'local' comparison.

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 core behavior and the invalid-date rule are front-loaded in one tight sentence. The trailing promo string ('🆓 5 free trial calls per signed wallet') is quota information but is decorative clutter that dilutes an otherwise zero-waste description.

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 simple two-arg predicate with no annotations and no output schema, the description covers purpose and the key edge case. The remaining gaps — return type and accepted date format — are small but real, since no structured field supplies them.

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 description coverage is 0% for the two params 'a' and 'b'. The description only implies both are date inputs and that comparison happens in local time; it never states the accepted date format(s) or that 'a' and 'b' are the two operands being compared. Partial but thin compensation for a total schema gap.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific predicate over a specific resource: whether two date inputs share a local year. The 'local year' scoping makes it trivially distinguishable from siblings like x402-is-same-day and x402-is-same-month without opening any schema.

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 name and predicate semantics — an agent can infer it is used to compare two dates' years. However, there is no explicit when-to-use guidance, no mention of the sibling comparison tools (same-day, same-month), and no statement of prerequisites for the date inputs.

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