Skip to main content
Glama

time_net_terms

Read-only

Invoice payment terms calculator — Turn invoice payment terms into exact dates and money: Net 30, 2/10 Net 30, 1/15 Net 45, Net 30 EOM, 10 EOM, 1/10 prox, 15 MFI, Due on receipt. Returns the due date (rolled off weekends and US federal holidays; adjust=next|previous|none), the last day to take an early-payment discount, discount amount and net payable (amount=), the annualized cost of skipping the discount, status as of a date (DISCOUNT_AVAILABLE / OPEN / DUE_TODAY / OVERDUE) with days and business days left. Optional as_of=YYYY-MM-DD (default today). Offline. Price: $0.002 USDC (Base, via x402).

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": {
      "invoice_date": "<invoice_date>",
      "terms": "<terms>"
    },
    "name": "time_net_terms"
  }
}

Input Schema

NameRequiredDescriptionDefault
termsYese.g. 2/10 Net 30
invoice_dateYese.g. 2026-11-20

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.4/5.0
Behavior5/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, but the description still adds substantial behavior the schema cannot express: weekend and US federal holiday rolloff with adjust=next|previous|none, an as_of default of today, the status lifecycle (DISCOUNT_AVAILABLE / OPEN / DUE_TODAY / OVERDUE), and a paid endpoint at $0.002 USDC via x402, which matters for cost/auth decisions before calling.

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?

It is front-loaded and every clause carries information — term formats, output fields, rolling rule, status set, pricing. The tradeoff is density: one long run-on paragraph of parentheticals that an agent must parse in a single pass, though nothing is truly redundant.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With no output schema and only two required parameters, the description compensates by naming the returned values (due date, discount deadline, discount amount, net payable, annualized cost of skipping the discount, status with days and business days left). That is enough for an agent to call it correctly and know what to expect back.

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%, so baseline is 3; the description does add real value by making the free-form 'terms' string concrete with nine example formats and supplying as_of default behavior and injectability. Offsetting this, it references inputs (adjust=, amount=, as_of=) that do not appear in the declared schema, which leaves ambiguity about how those are actually passed versus what the schema permits.

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?

The description opens with a specific verb+resource pair ('Invoice payment terms calculator — Turn invoice payment terms into exact dates and money') and then enumerates the supported term formats (Net 30, 2/10 Net 30, 10 EOM, 1/10 prox, 15 MFI, etc.), so an agent can recognize the domain immediately and distinguish it from sibling finance/pay-date tools without opening a schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Context is clear: this is the tool to use when you have an invoice date plus a terms string and want due dates, discount windows, or status. The enumerated term formats act as an implicit applicability test. However, no alternative is named (e.g. finance_payment_terms), and there is no explicit when-not guidance for cases where the terms string is a plain day count instead of a discount/EOM expression.

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