Skip to main content
Glama
receipt-gate

receipt-gate

List open promises

open_debts
Read-only

Read a deal's outstanding promises and remaining obligations from the append-only ledger, returning the exact open balance or gap for the given deal ID.

Instructions

The promises a deal still holds, read from the ledger.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "open_debts"
  }
}

Input Schema

NameRequiredDescriptionDefault
deal_idNo

Output Schema

NameRequiredDescriptionDefault
deal_idNo
open_promisesYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

C2.6/5.0
Behavior3/5

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

readOnlyHint=true and openWorldHint=false already establish a safe, local read. The description adds only that results are "read from the ledger," a useful trust signal about the authoritative source, but says nothing about whether overdue promises are included, ordering, or pagination.

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

Conciseness3/5

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

Extremely short and front-loaded with no filler, but it is a truncated phrase rather than a complete statement, so brevity comes at the cost of meaning.

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 an output schema present, return values need not be explained, but the description leaves the optional-deal_id behavior and the definition of "open" undefined — both essential for a list tool with an optional filter.

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 coverage is 0% for the single deal_id parameter, and the description only says "a deal," which implies scoping by deal but never states what a missing deal_id means — all deals, or an error?

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

"The promises a deal still holds" identifies the resource (promises) and the scope (still open), which distinguishes it from settle or cancel_by_owner, but it is a noun fragment with no verb, so the agent must infer that it lists rather than resolves. It is understandable but not precise.

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?

The description gives no when-to-use guidance and names no alternative among the many siblings (open_promise, settle, verify_ledger). An agent must guess whether this is the read path for outstanding obligations or a duplicate of open_promise.

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