Skip to main content
Glama

VKN checksum validation

vkn_dogrula
Read-onlyIdempotent

Validate the check digit of a 10-digit Turkish tax ID (VKN) offline without performing a taxpayer lookup.

Instructions

Vergi Kimlik Numarasının (10 hane) kontrol hanesini GİB algoritmasıyla doğrular. Mükellef sorgusu YAPMAZ. Validates the check digit of a Turkish tax ID (VKN, 10 digits). Offline; no taxpayer lookup.

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": {
      "vkn": "<vkn>"
    },
    "name": "vkn_dogrula"
  }
}

Input Schema

NameRequiredDescriptionDefault
vknYes10 haneli Vergi Kimlik No / 10-digit VKN

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4/5.0
Behavior3/5

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

The annotations already declare readOnly=true, openWorld=false and idempotent=true. The description adds real value by saying the check is offline and limited to the checksum rather than a registry query, which sets expectations about scope. It still does not describe the response shape or how an invalid digit is reported, so the additional behavioral context is useful but partial given 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.

Conciseness4/5

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

The statement leads with the core behavior and is very short. The full text is given twice, in Turkish and English, which is justified for a bilingual audience but does add redundancy rather than new information.

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

Completeness3/5

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

The tool is simple with one well-documented parameter and no output schema. The description says nothing about the return value (for example, whether it returns a boolean, a digits breakdown, or an error for malformed input), which is the main remaining gap for an agent that must interpret the result.

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?

There is a single parameter with 100% schema description coverage, so the baseline is 3. The description adds that the value is exactly 10 digits, which meaningfully resolves the ambiguity created by the schema's maxLength=32 cap and makes the expected input format unambiguous.

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?

The description names a specific verb and resource: validating the check digit (kontrol hane) of a 10-digit Turkish tax ID (VKN). It also explicitly rules out a related but different capability ("Mükellef sorgusu YAPMAZ" / no taxpayer lookup), so an agent can distinguish it from a lookup tool and from the sibling tckn_dogrula, which targets a different identifier.

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?

"Offline; no taxpayer lookup" tells the agent when this tool is inappropriate: it cannot confirm that a taxpayer exists, only check the digit. Guidance is clear but does not explicitly compare against alternatives such as tckn_dogrula or state any prerequisite context beyond that exclusion.

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