Skip to main content
Glama

get_dunning_levels

Read-only

The two dunning levels of the tenant (defaults if not configured): days_after (level 1: days after due date; level 2: days after the level-1 payment deadline), pay_within_days, fee_cents, subject, body with placeholders {{rechnungsnummer}}, {{rechnungsdatum}}, {{betrag}}, {{faellig_am}}, {{neue_frist}}, {{mahngebuehr}}, {{offen}}, {{mahnstufe}}, {{empfaenger}}. Also whether dunnings are sent automatically (dunning_auto).

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": "get_dunning_levels"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior3/5

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

The annotations already declare readOnlyHint=true and openWorldHint=false, so the safety profile is covered. The description adds one genuinely useful behavioral fact beyond that — that defaults are returned when the tenant has no configuration — but says nothing about permissions, error cases, or how the two levels are ordered in the response.

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?

A single dense sentence, front-loaded with the purpose before the field inventory, so an agent can stop reading early if it only needs the purpose. The long field and placeholder list is verbose but every item carries information that is not available elsewhere.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Because there is no output schema, the description carries the burden of documenting return values, and it does so field by field (days_after with per-level meaning, pay_within_days, fee_cents, subject, body placeholders, dunning_auto). That is close to complete for a zero-parameter read tool; only the overall response envelope (e.g. whether fields are nested per level) is left implicit.

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?

The tool takes zero parameters, so there is nothing for the description to disambiguate; baseline 4 applies. The description instead spends its words on the return shape, which is the relevant semantics here.

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?

The description names the resource precisely ('the two dunning levels of the tenant') and clarifies the default behavior when nothing is configured, so an agent knows exactly what is being read. It doesn't explicitly say 'returns' or name the read counterpart sibling (set_dunning_level), but the 'get_' prefix plus the field enumeration makes the read-only retrieval purpose unambiguous.

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 statement of when to call this versus alternatives such as list_dunning_candidates or the set_dunning_* tools. The parenthetical '(defaults if not configured)' gives a behavioral hint but not usage guidance or exclusions.

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.