Skip to main content
Glama

Get Road Transport Licences (KREPTD)

get_company_transport_licenses
Read-onlyIdempotent

Get road transport licences from the KREPTD register (GITD) — EU community licences (goods over / up to 3.5 t, passengers) and national road carrier permits with number, status (valid / suspended / withdrawn / expired), issue and expiry dates, issuing authority, vehicle counts, current certified copies (wypisy) and a fleet estimate. Keyed by NIP. Identify company by name, KRS, or NIP.

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

Input Schema

NameRequiredDescriptionDefault
krsNoKRS registry number.
nipNoNIP tax number (preferred for KREPTD).
nameNoCompany name when KRS/NIP is unknown.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive and closed-world, so the safety profile is covered. The description adds genuinely useful substance beyond that: the licence statuses returned (valid/suspended/withdrawn/expired), the fields included (issuing authority, vehicle counts, certified copies, fleet estimate), and the NIP keying. It omits matching behavior on multiple identifiers and any rate or coverage limits, which keeps it from a 5.

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?

Two sentences, front-loaded with the register and licence scope, then the returned fields, then identifier guidance. The middle clause is a dense enumeration of return attributes, but every listed item is informative for an agent deciding whether to call it. Minor tightening could improve it, but nothing is padding.

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?

With no output schema, the description must carry the return-shape burden, and it does so well by naming the licence categories, status values, and fields returned. Identifier fallback is covered too. What remains unexplained is behavior when multiple identifiers are supplied and whether all identifiers must resolve to the same company, a relevant gap given zero required parameters.

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 all three identifier parameters are already documented, including the note that NIP is preferred for KREPTD. The description's 'Keyed by NIP' and 'Identify company by name, KRS, or NIP' largely restate the schema rather than adding new meaning. 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 ('Get road transport licences from the KREPTD register (GITD)') and immediately enumerates the scope: EU community licences for goods over/up to 3.5 t and passengers, plus national road carrier permits. That level of domain specificity distinguishes it from siblings like get_company_energy_licenses or get_company_rail_punctuality without needing to name them.

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

Usage Guidelines3/5

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

Usage context is implied rather than stated: the agent learns the tool is keyed by NIP and that name/KRS/NIP are acceptable identifiers, but there is no explicit when-to-use versus when-not, nor any mention of alternatives. Adequate for a straightforward lookup but leaves routing to inference.

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.