Skip to main content
Glama

Moltline Dropship Economics

Lead Time

lead_time
Read-onlyIdempotent

Turn supplier and transit times into a date you can promise. FREE.

Adds a buffer, because the number a supplier quotes is their best case and the date you publish is a commitment. Typical input {"supplier_days": 3, "transit_days": 12, "order_date": "2026-08-20"} returns {"total_days": 17, "delivery_date": "2026-09-06", "promise_date": "2026-09-09", "advice": "..."}.

Use when writing a shipping policy or answering "when will it arrive". Not for what the shipping costs: that is the shipping server. Errors: on invalid, missing, or malformed input this tool never raises a protocol error; it returns {"error": ""} (for example {"error": "order_date must be YYYY-MM-DD, e.g. 2026-08-20"}). Every call is read-only and idempotent, so after correcting the input it is always safe to retry.

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": {
      "supplier_days": "<supplier_days>",
      "transit_days": "<transit_days>"
    },
    "name": "lead_time"
  }
}

Input Schema

NameRequiredDescriptionDefault
order_dateNoStart date as YYYY-MM-DD, e.g. "2026-08-20". Defaults to today when omitted.
buffer_daysNoExtra days added before the date you publish. Default 2.
transit_daysYesDays in transit from despatch to the customer.
supplier_daysYesDays from your order to the supplier despatching it.
working_days_onlyNoWhen true, count supplier and transit days as Monday-Friday only. Default false.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Annotations already declare readOnlyHint/idempotentHint/destructiveHint:false, and the description reinforces that with a practical inference ('after correcting the input it is always safe to retry'). It goes further than the annotations by disclosing the error contract — invalid input returns {"error": "..."} rather than raising a protocol error — plus the buffer rationale explaining why the promise date differs from the computed delivery date.

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?

Front-loaded with the core outcome, then rationale, example, usage, and error handling in descending priority — a sensible order. It runs slightly long and the standalone 'FREE.' fragment is promotional rather than functional, but no sentence is redundant with the schema.

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?

An output schema exists, so return values need no prose, yet the description still supplies a concrete sample response including the non-obvious 'advice' field and the distinction between delivery_date and promise_date. For a 5-parameter pure calculation tool, nothing needed to invoke it correctly is missing.

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

Parameters4/5

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

Schema coverage is 100%, so the baseline is 3. The description adds meaning on top: the worked example pins down units and date format for supplier_days/transit_days/order_date, and 'the number a supplier quotes is their best case' explains why buffer_days exists rather than merely what it is. It does not mention working_days_only, so it is not fully additive.

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?

Opens with a concrete verb+resource outcome: 'Turn supplier and transit times into a date you can promise.' It also explicitly scopes itself away from the shipping cost domain, which is the only plausible sibling confusion (price_ladder/margin_check are cost tools). An agent can identify the tool's function without opening the schema.

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

Usage Guidelines5/5

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

States the triggering situations ('writing a shipping policy', answering 'when will it arrive') and an explicit exclusion ('Not for what the shipping costs: that is the shipping server'). The when-to-use and when-not-to-use conditions are both present and unambiguous.

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.