Skip to main content
Glama

add

Computes a date by counting a given number of Korean business days forward or backward, skipping weekends and holidays.

Instructions

Add N Korean business days to a date. ?date=YYYY-MM-DD&days=N (paid via x402, USDC on Base)

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": {
      "date": "<date>",
      "days": "<days>"
    },
    "name": "add"
  }
}

Input Schema

NameRequiredDescriptionDefault
dateYesdate
daysYesdays

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.2/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full burden. It does disclose a genuinely important behavioral trait — that calls are paid via x402 with USDC on Base — which is real value an agent needs before invoking. It does not say how weekends or Korean public holidays are handled, whether N can be negative, or what the response looks like.

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?

Two compact fragments with the core operation front-loaded and the payment caveat appended. No wasted prose, though the query-string notation (?date=...&days=...) is an odd way to describe JSON parameters.

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 two-parameter tool with no output schema and no annotations, the description covers the operation, the date format, and the payment model. The remaining gap — calendar semantics for holidays — is a real but secondary omission for a tool this simple.

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

Parameters3/5

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

Schema coverage is 100%, but the schema's own parameter descriptions are placeholders ('date', 'days'). The description compensates partially by giving the date format YYYY-MM-DD and clarifying that 'days' is a count N, though it conflicts slightly with the schema's string typing.

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: adding N Korean business days to a given date. The domain qualifier 'Korean business days' is meaningful. It does not, however, differentiate itself from the sibling 'businessday', which an agent might reasonably consider an alternative.

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?

Provides no when-to-use or when-not-to-use guidance. With a sibling named 'businessday' in the catalog, the definition gives the agent no basis for choosing between them.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.