Skip to main content
Glama

minia2a — hosted x402 API marketplace (HTTP)

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

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": {
      "end": "<end>",
      "start": "<start>"
    },
    "name": "x402-weekdays-between"
  }
}

Input Schema

NameRequiredDescriptionDefault
endYes
startYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / required
      Added value: +[
      +  "end",
      +  "start"
      +]
  2. Changed2 schema fields changed
    • removedInput schema / properties / end / description
      Removed value: -"End to process"
    • removedInput schema / properties / start / description
      Removed value: -"Start to process"
  3. First observed

TDQS

B3.2/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 behavioral burden; it does disclose the key trait that Saturdays and Sundays are excluded, plus a quota signal ('5 free trial calls per signed wallet') that hints at paid/authenticated access. Undisclosed are whether endpoints are inclusive, what date format is accepted, and what the return value looks like — all material for a date-arithmetic tool.

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

Conciseness5/5

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

A single front-loaded sentence states the operation, the resource, and the exclusion rule, with the quota note trailing. Nothing is redundant and the specification comes before the marketing.

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 0% schema description coverage, the definition leaves the two most decision-relevant details unspecified: accepted date format and boundary inclusivity. An agent can call it, but cannot predict the result for edge cases such as equal start/end dates or a weekend boundary.

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 both parameters, so the description must compensate and largely does not: it only echoes the parameter names ('between start and end dates'). It never states the expected date format, whether 'start' and 'end' boundaries are included in the count, or what happens if start is after end.

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 gives a specific verb and resource ('Counts Monday-to-Friday days between start and end dates') and even defines the exclusion rule, so an agent knows exactly what the tool computes. It does not explicitly name the sibling to prefer for all-calendar-days counting (x402-days-between) or for shifting a date by business days (x402-add-business-days), so differentiation is inferable rather than stated.

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 phrasing 'between start and end dates' with weekend exclusion, which is enough to pick this tool for a business-day count. There is no explicit when-to-use/when-not guidance and no pointer to the all-days or add-business-days alternatives, so the agent must infer routing from the name and description.

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.