Skip to main content
Glama

Законы и сборы

get_regulation
Read-onlyIdempotent

Законы и сборы РФ для электромобилей: без slug — список правил (утильсбор, НДС, субсидия, импорт) со статусом; со slug — одно правило целиком: ответ с суммами, таблица ставок (у утильсбора — мощность, коэффициент и сумма для новой машины и старше 3 лет), разделы, акты, хронология. Звать первым на вопросы о сборах, растаможке, господдержке покупки (субсидия, скидка, льготный кредит) и льготах. Сумму под мощность и возраст считает calc_import_fees. EN: Russian EV rules: without slug the list (recycling fee, VAT, subsidy, import) with status; with slug one rule in full with amounts, rate table, acts and timeline.

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_regulation"
  }
}

Input Schema

NameRequiredDescriptionDefault
slugNoИдентификатор правила (utilization-fee-2025-12, subsidiya-925k); без него — список

Output Schema

NameRequiredDescriptionDefault
urlYes
slugNo
ratesNoСтавки утильсбора: база × коэффициент по 30-минутной мощности и возрасту
termsYesУсловия использования данных (адрес)
titleNo
answerNoПрямой ответ с суммами и актом
statusNo
sourcesNo
sectionsNo
timelineNo
regulationsNoБез slug: все правила со статусом и идентификатором
markdown_urlNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed5 schema fields changed
    • changedInput schema / properties / slug / description
      Previous value: -"Идентификатор регуляции из list_regulations"New value: +"Идентификатор правила (utilization-fee-2025-12, subsidiya-925k); без него — список"
    • removedInput schema / required
      Removed value: -[
      -  "slug"
      -]
    • addedOutput schema / properties / regulations
      Added value: +{
      +  "description": "Без slug: все правила со статусом и идентификатором",
      +  "items": {
      +    "properties": {
      +      "markdown_url": {
      +        "type": "string"
      +      },
      +      "slug": {
      +        "type": "string"
      +      },
      +      "status": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "title": {
      +        "type": "string"
      +      },
      +      "url": {
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "slug",
      +      "url"
      +    ],
      +    "type": "object"
      +  },
      +  "type": "array"
      +}
    • changedOutput schema / properties / slug / type
      Previous value: -"string"New value: +[
      +  "string",
      +  "null"
      +]
    • changedOutput schema / required
      Previous value: -[
      -  "slug",
      -  "url",
      -  "terms"
      -]New value: +[
      +  "url",
      +  "terms"
      +]
  2. First observed

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, non-destructive, idempotent, closed-world), yet the description still adds substantive behavioural detail: the list view carries a status field, the detail view contains amounts, a rate table broken down by power and coefficient for new vs 3+ year-old cars, sections, acts and a timeline. It does not discuss freshness of legal data or what happens with an unknown slug, but the disclosure goes meaningfully beyond the annotations.

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

Conciseness3/5

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

Purpose and mode behaviour are front-loaded, which is good, but the whole thing is one semicolon-joined run-on sentence and the trailing EN block largely re-states the Russian text rather than adding anything for the caller's decision. It is informative but padded.

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?

An output schema exists, so the description need not document return shape, and it still sketches the payload contents. Both invocation paths, the trigger conditions and the hand-off to calc_import_fees are all specified, which is complete for a single-optional-parameter read tool.

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% and the single parameter already has a description, so baseline 3 applies. The prose nevertheless adds real semantic value by defining the dual behaviour of the parameter: absent slug means list, present slug means one complete rule, and it even illustrates slug formats (utilization-fee-2025-12, subsidiya-925k).

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?

Names a specific resource (Законы и сборы РФ для электромобилей) and splits it into two concrete modes: without slug returns a list of rules with status, with slug returns one full rule. It also names the sibling that does the computing (calc_import_fees), so an agent can distinguish it 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?

Explicitly says to call it first for questions about fees, customs clearance, state purchase support (subsidy, discount, preferential loan) and benefits, and delegates the power/age-specific calculation to calc_import_fees. Both the when-to-use condition and the division of labour with the alternative are stated.

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.