Skip to main content
Glama

x402-weekdays-between

Weekdays Between: Counts Monday-to-Friday days between start and end dates, excluding Saturdays and Sundays 🆓 5 free trial calls per signed wallet

Input Schema

NameRequiredDescriptionDefault
endNo
startNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • removedInput schema / properties / end / description
      Removed value: -"End to process"
    • removedInput schema / properties / start / description
      Removed value: -"Start to process"
  2. Changed2 schema fields changed
    • addedInput schema / properties / end
      Added value: +{
      +  "description": "End to process",
      +  "type": "string"
      +}
    • addedInput schema / properties / start
      Added value: +{
      +  "description": "Start to process",
      +  "type": "string"
      +}
  3. First observed

TDQS

C2.6/5.0
Behavior2/5

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

With no annotations and no output schema, the description carries the full burden. It discloses the core weekend-exclusion behavior but omits endpoint inclusivity (are start/end counted?), accepted date format, timezone handling, and behavior when start > end — all material for invoking correctly.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The behavioral sentence is front-loaded and efficient, but the trailing '🆓 5 free trial calls per signed wallet' promo adds pricing noise that doesn't help tool selection or invocation.

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 2-param tool with no annotations and no output schema, key operational details are missing: date format, endpoint inclusivity, and edge-case behavior. The description explains the concept but not enough to call the tool 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 description coverage is 0%, so the two string parameters ('start', 'end') are completely undocumented in structured data. The description only restates 'start and end dates' with no format, ordering, or validation detail, so it fails to compensate for the coverage gap.

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 ('Counts') and resource ('Monday-to-Friday days between start and end dates') and defines the exclusion rule, which cleanly separates it from a generic day-count. It never names the closest sibling (x402-days-between), so an agent must infer the distinction rather than being routed.

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 or when-not-to-use guidance is given. Given siblings like x402-days-between, x402-hours-between, x402-is-weekend, and x402-add-business-days, the agent gets no explicit signal about which to pick for which scenario.

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