Skip to main content
Glama

report_repayment

Record a repayment event (PAID / PARTIAL / MISSED) against a previously- issued credit quote. Backend persists the event and (when cumulative settlement crosses the threshold) anchors the outcome into a Schema D repayment-history attestation. Idempotent on (quoteId, occurredAtIso). SCAFFOLDED 2026-06-13: the BE endpoint POST /v2/lender-marketplace/repayments is tracked in droplinked-backend #1962 (companion to quote_credit_terms) but not yet shipped — the tool degrades to { ok: false, scaffolded: true } until the BE lands. Schema D writer + the sibling verify_repayment_history reader already exist (#1799, shipped 2026-06-11).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
quoteIdYes
evidenceNo
lenderIdYes
eventTypeYes
merchantIdYes
agentBearerNo
occurredAtIsoYes
amountUsdCentsYes

TDQS

B3.2/5.0
Behavior1/5

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

This is an annotation contradiction. The description states 'Idempotent on (quoteId, occurredAtIso)' while the annotations set idempotentHint to false. This is a serious inconsistency that could mislead an agent into believing duplicate calls are safe when they may not be. Although the description discloses the scaffolded state and degraded response, the contradiction earns a score of 1.

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?

The description is information-dense and front-loaded with the core purpose, followed by backend behavior, idempotency, and scaffolding status. Each sentence adds value, though the scaffolded notice with ticket numbers is a bit lengthy. Overall it is well-structured and concise for the amount of context provided.

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?

The description discloses the scaffolded state and the degraded response, and notes that the backend is being tracked. However, it does not describe the success response format, what happens when cumulative settlement crosses the threshold (exact threshold or attestation details), or authentication requirements (agentBearer). With no output schema, the description should have provided more guidance on expected outcomes and side effects.

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 description coverage is 0%, so the description must compensate for parameter meaning. It explains eventType (via the PAID/PARTIAL/MISSED enum) and mentions quoteId and occurredAtIso in the idempotency note, but does not elaborate on lenderId, merchantId, amountUsdCents, evidence, or agentBearer. This is a partial aid but insufficient for a 8-parameter tool with no schema descriptions.

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 uses a specific verb ('Record a repayment event') and clearly identifies the resource (previously-issued credit quote) and the event types (PAID/PARTIAL/MISSED). It distinguishes itself from the sibling verify_repayment_history by positioning this as the writer vs. reader tool.

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?

The description implies when to use the tool (recording repayment events) and mentions its relationship to quote_credit_terms (companion) and verify_repayment_history (sibling reader). It does not explicitly state 'when not to use' or list alternatives, but the context is clear enough to prevent confusion with the read-only verification tool.

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.

TDQS

B3.4/5.0
Disambiguation2/5

Many tools have overlapping purposes, such as find_inventory, search_products, list_shop_products, and get_product all dealing with product discovery/retrieval with subtle differences. Similarly, verify_brand_attestation and get_brand_attestation_status could be confused, as could get_trust_dossier and get_underwriting_signals. The sheer number of verification and lookup tools makes it difficult to pick the right one without careful reading.

Naming Consistency2/5

The cart tools use a dot-separated camelCase convention (cart.addLine, cart.updateLineQuantity), while the rest use snake_case with varied verbs (find_, get_, list_, search_, verify_, request_, quote_, etc.). This mixing of conventions and inconsistent verb choices (e.g., find_inventory vs search_products vs list_shop_products) makes the tool names unpredictable.

Tool Count2/5

With 38 tools, this server is heavily overloaded. The guidance suggests 25+ tools is too many, and this server exceeds that threshold. While the domain spans commerce, trust attestations, and lending, the count is excessive for a coherent single-server toolkit.

Completeness3/5

The tool surface is extremely broad, covering cart management, checkout, product discovery, trust verification, and lending workflows. However, there are notable gaps: no cart retrieval or order history, no revoke/update for attestations, and some key lending tools (quote_credit_terms, report_repayment) are scaffolded but not yet functional, creating dead ends.

Resources