Skip to main content
Glama

Sparkwell Optimus

Credit control health check

assess_credit_control_health
Read-onlyIdempotent

Scores how healthy a UK business’s credit control is, from its answers to 10 multiple-choice questions (payment terms, credit checks, credit limits, invoicing speed, statements, chasing, escalation, aged debt, disputes and account holds). Returns an indicative score out of 100, a band and up to three priority actions. Use it when the user wants a quick check-up of their credit control. Every answer must be one of the listed options: ask the user each question rather than guessing. No figures needed. A read-only calculation: nothing is stored.

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": {
      "terms": "<terms>",
      "credit_checks": "<credit_checks>",
      "credit_limits": "<credit_limits>",
      "invoice_speed": "<invoice_speed>",
      "statements": "<statements>",
      "first_chase": "<first_chase>",
      "escalation": "<escalation>",
      "ageing": "<ageing>",
      "disputes": "<disputes>",
      "account_holds": "<account_holds>"
    },
    "name": "assess_credit_control_health"
  }
}

Input Schema

NameRequiredDescriptionDefault
termsYesPayment terms: What are your standard payment terms for trade customers? Answer with one of: "up_to_30" = 30 days or less; "31_45" = 31 to 45 days; "46_60" = 46 to 60 days; "over_60" = More than 60 days; "varies" = It varies from customer to customer. Required: ask the user if you do not know.
ageingYesAged debt: Roughly how much of what customers owe you is more than 60 days overdue? Answer with one of: "under_5" = Less than 5%; "5_15" = 5% to 15%; "15_30" = 15% to 30%; "over_30" = More than 30%; "unknown" = I don't know. Required: ask the user if you do not know.
disputesYesQueries and disputes: How are invoice queries and disputes handled? Answer with one of: "logged" = Logged, with an owner and a target date; "ad_hoc" = Dealt with as they come up; "not_tracked" = Not tracked. Required: ask the user if you do not know.
escalationYesEscalation: Do you have a written process for escalating unpaid invoices? Answer with one of: "written" = Yes, written down and followed; "informal" = Informal: it depends who is chasing; "none" = No. Required: ask the user if you do not know.
statementsYesStatements: Do you send customers account statements? Answer with one of: "monthly" = Every month; "occasionally" = Occasionally; "never" = Never. Required: ask the user if you do not know.
first_chaseYesChasing: When do you start chasing an invoice? Answer with one of: "before_due" = Before it is due, with a reminder; "on_due" = On the due date; "week_or_two_after" = A week or two after it is due; "when_noticed" = When someone notices. Required: ask the user if you do not know.
account_holdsYesAccount holds: Do you stop supplying accounts that are overdue? Answer with one of: "enforced" = Yes, our policy is applied consistently; "not_enforced" = We have a policy, but rarely apply it; "none" = No policy. Required: ask the user if you do not know.
credit_checksYesNew accounts: Do you credit-check new trade customers before giving them credit? Answer with one of: "always" = Always; "sometimes" = Sometimes; "never" = Never. Required: ask the user if you do not know.
credit_limitsYesCredit limits: Do your customers have credit limits? Answer with one of: "reviewed" = Yes, and we review them regularly; "set_not_reviewed" = Yes, but we rarely review them; "none" = No. Required: ask the user if you do not know.
invoice_speedYesInvoicing: How soon after delivery do invoices go out? Answer with one of: "same_day" = The same day; "within_week" = Within a week; "later" = Later, or in monthly batches. Required: ask the user if you do not know.

Output Schema

NameRequiredDescriptionDefault
toolYes
resultsYes
summaryYesOne or two plain-English sentences giving the main result.
disclaimerYes
assumptionsYesAssumptions the method makes.
limitationsYesWhat the result does not cover.
methodologyYesHow the figures are worked out.
answers_usedYes
web_tool_urlNoThe same free tool on the Optimus website.
recommendationsYesGeneral suggestions, not guaranteed outcomes.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and closed-world scope, so the safety profile is largely covered. The description still adds real value beyond them: the assessment is a pure calculation with nothing stored, no financial figures are required, and each question must be asked of the user rather than inferred — a behavioural rule an agent would otherwise get wrong.

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 purpose, then inputs, then outputs, then usage and behaviour rules — a sensible order with no filler. The parenthetical list of ten topics slightly duplicates what the schema already names, but it is compact and aids scanning.

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?

For a ten-required-parameter scoring tool with an output schema, the description covers what it does, what it returns, when to use it, and how to gather answers. Nothing an agent needs 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% with each enum value fully spelled out, so the description need not restate them. It nevertheless adds meaning beyond the schema: the ten topic areas are enumerated in prose and the interaction rule ('every answer must be one of the listed options') constrains how values should be collected.

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?

States a specific verb and resource ('Scores how healthy a UK business's credit control is') plus the exact input basis (10 multiple-choice questions) and the outputs (score out of 100, band, up to three priority actions). This is clearly distinguishable from the sibling calculators like assess_overdue_invoices and calculate_cash_flow_impact, which do not score credit-control practices.

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?

Gives an explicit trigger: 'Use it when the user wants a quick check-up of their credit control,' and adds operational guidance that every answer must come from the listed options and be asked of the user rather than guessed. It does not name when to prefer a sibling instead, so it stops short of full alternative routing.

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