Skip to main content
Glama

Pinpal Jobs

Set an agreed due date

set_due_date

The client and the person agreed on a later due date for a sent or late invoice. The sent invoice stays as printed; the date in force (agreedDueDate) moves, and with it pastDueDays. null goes back to the printed date. Goes into the thread.

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": {
      "document": "<document>",
      "date": "<date>"
    },
    "name": "set_due_date"
  }
}

Input Schema

NameRequiredDescriptionDefault
dateYes
noteNoWhat was agreed, with whom.
documentYesThe document's id (from list_documents), or its number once sent, like INV-0007.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior5/5

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

Beyond the annotations (readOnlyHint=false, destructiveHint=false), the description discloses what is preserved ('the sent invoice stays as printed'), what mutates (agreedDueDate and the derived pastDueDays), the reversal path (null), and a side effect ('Goes into the thread'). That is unusually rich for a mutation with no output schema.

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?

Four tight sentences with the core effect front-loaded, followed by the derived-field consequence, the null behavior, and the side effect. The fragment 'Goes into the thread' and the vague 'the person' are slightly cryptic but cost almost nothing in length.

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 3-parameter mutation with no output schema, the description covers state change, preserved state, null semantics, and the thread side effect. It omits error conditions and permission requirements, and does not say what happens if the document is still unsent.

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 67% and the undocumented parameter is `date`, which the description compensates for by defining both the value case ('a later due date') and the null case ('goes back to the printed date'). The `document` and `note` parameters are already described in the schema, so the description adds meaning where it matters most.

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 states a specific action on a specific resource: recording a mutually agreed later due date on a sent or late invoice, and it explains the effect (agreedDueDate moves, pastDueDays follows). It never names a sibling or explicitly contrasts itself with set_status or mark_paid, so it lands just short of a 5.

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?

It gives a clear applicability condition ('a sent or late invoice'), which tells the agent the document must already be issued. It also states the escape hatch — passing null reverts to the printed date. There is no explicit when-not guidance or named alternative for related date/status changes.

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