Skip to main content
Glama

Пени и проценты за просрочку

late_payment_penalty
Read-onlyIdempotent

Calculate Russian late-payment interest or penalties using Central Bank key rate changes, with Art. 395 or fraction methods, and get totals plus period breakdowns.

Instructions

Считает неустойку за просрочку оплаты по ключевой ставке ЦБ с учётом всех её изменений за период: проценты по ст. 395 ГК РФ (ставка/365 или 366 в день) или пени по доле ставки (например 1/300 для коммунальных и налоговых пеней физлиц, 1/150 для организаций после 30 дней). Даёт итог и разбивку по периодам ставки. Не заменяет юриста.

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": {
      "amount": "<amount>",
      "from": "<from>"
    },
    "name": "late_payment_penalty"
  }
}

Input Schema

NameRequiredDescriptionDefault
toNoДата оплаты или расчёта включительно (по умолчанию сегодня)
fromYesПервый день просрочки
amountYesСумма долга в рублях
methodNoart395 — проценты по ст. 395 ГК; fraction — доля ставки в деньart395
fractionNoЗнаменатель доли для method=fraction, например 300 или 150

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.9/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint and destructiveHint=false, so the safety profile is covered. The description adds that it gives a total plus a breakdown by rate period and that it is not a legal substitute, but says nothing about defaults behavior or rate-source assumptions beyond what is implied.

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 that is front-loaded with the core computation before the qualifying detail, plus a short disclaimer. Every clause earns its place, though the packing of legal sub-cases makes it heavy for one sentence.

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?

For a read-only calculator with no output schema, the description covers the algorithm, the method variants, and the return shape (total plus per-period breakdown), which is enough to call it correctly. Only minor gaps around default rate sourcing remain.

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?

Schema description coverage is 100%, so parameters are already documented. The description does add interpretive context for method and fraction (what art395 vs fraction mean, example denominators), but adds nothing about from/to/amount beyond the schema, so baseline 3 is appropriate.

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 ('Считает неустойку за просрочку оплаты по ключевой ставке ЦБ') and pins the exact legal bases (ст. 395 ГК, доли ставки 1/300, 1/150), so an agent can distinguish it from the rate-lookup siblings like cbr_key_rate or cbr_rate_history.

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?

Explains which method applies in which situation (art395 for statutory interest, fraction for utility/tax penalties for individuals at 1/300, organizations at 1/150 after 30 days) and adds a scope disclaimer ('Не заменяет юриста'). It does not explicitly route against sibling tools, but the usage context is concrete.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.