Skip to main content
Glama

Utestående kundfordringar

customer_outstanding
Read-onlyIdempotent

Visar utestående kundfordringar per kund: hur mycket som är obetalt och hur mycket som har förfallit. Använd för frågor som vilka kunder som är skyldiga bolaget pengar; för fakturorna i detalj, använd list_customer_invoices. Returnerar per kund namn, utestående och förfallet belopp i öre och antal fakturor, sorterat på störst utestående, samt total summa. Ej bokförda, makulerade och betalda fakturor räknas inte med. Läser bara, ändrar inget.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
orgnrYesBolagets organisationsnummer, 10 siffror med eller utan bindestreck, t.ex. 559900-1004. Hämta med list_companies.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / orgnr / description
      Added value: +"Bolagets organisationsnummer, 10 siffror med eller utan bindestreck, t.ex. 559900-1004. Hämta med list_companies."
  2. 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 covered. The description adds genuinely new behavioral detail the annotations cannot carry: which invoice states are excluded (ej bokförda, makulerade, betalda) and the sort order. The closing 'Läser bara, ändrar inget' is redundant with the annotations but not harmful.

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?

Three dense sentences: purpose, routing, exclusions/return shape. Front-loaded with the core purpose and no filler, though the final read-only sentence is redundant padding given the annotations.

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?

There is no output schema, and the description compensates by enumerating the returned fields (namn, utestående och förfallet belopp i öre, antal fakturor), the ordering, and the total. Combined with the exclusions, an agent knows both what it gets and what is omitted.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

With a single parameter at 100% schema coverage, the schema already documents orgnr format and where to obtain it (list_companies). The description adds no parameter-level meaning beyond that, so the baseline 3 applies.

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+resource ('Visar utestående kundfordringar per kund') and immediately narrows scope with what is measured (obetalt vs förfallet). It explicitly distinguishes itself from the sibling list_customer_invoices, so an agent can separate the two without opening either schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives an explicit when-to-use ('Använd för frågor som vilka kunder som är skyldiga bolaget pengar') and names the alternative for the adjacent case ('för fakturorna i detalj, använd list_customer_invoices'). Nothing is left for the agent to infer about 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