Skip to main content
Glama

xCash — Working-Capital Optimiser

xcash-working-capital
DestructiveIdempotent

Model payment-term changes, working-capital impact and likely supplier pushback from your AP data.

Input Schema

NameRequiredDescriptionDefault
inputsYesOriginal buyer inputs. Service-specific CSV/date/rubric validation and a combined 75,000-character limit also apply.
sourceFieldsNo
sourceRunIdsNo
idempotencyKeyYesStable caller key for exactly one logical service request.
paymentInvoiceIdNoA separate confirmed service invoice when payment is required.
consentExternalProcessingYesExplicit authorization to send these sources and prior-agent context to the selected inference provider.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.8/5.0
Behavior2/5

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

Annotations declare destructiveHint=true, openWorldHint=true and readOnlyHint=false, yet the description's sole verb, "Model", reads as harmless analysis. Nothing warns that data leaves the boundary (the schema requires consentExternalProcessing) or that a payment invoice (paymentInvoiceId) may be involved — that is precisely the context the annotations cannot convey in prose and the agent needs before invoking.

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

Conciseness5/5

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

One clause, front-loaded with the verb and the concrete artefacts produced, with zero filler. The problem is coverage, not bloat — every word present earns its place.

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?

For a tool with a nested six-field input object, required explicit external-processing consent, an idempotency key and a destructive annotation, one sentence is far short. With no output schema, the description also owes the agent some notion of what comes back (summary, financial model, supplier-pushback findings).

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 67% and the schema already documents apData's CSV shape, dpoTarget examples and constraints guidance, so the description need only fill residual gaps. It fills none: no mention of dpoTarget formats, costOfCapitalPercent, the optional dynamicDiscount hurdle rate, or how sourceRunIds/sourceFields chain prior runs.

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?

Specific verb ("Model") plus three concrete outputs — payment-term changes, working-capital impact, supplier pushback — grounded in a named input (AP data). It is clearly a modelling/analysis tool rather than a document fetcher, but it never differentiates itself from near-neighbours like xnegotiate-coach or xspend-taxonomy, so the agent must guess on that axis.

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?

There is no when-to-use, when-not-to-use, or named alternative anywhere in the sentence. Nothing tells the agent whether this is the right tool for a supplier-negotiation question versus a spend-taxonomy or negotiation-coaching question in the sibling list.

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