Skip to main content
Glama

Temsor API — Turkey & EU business data

Turkish ID & Number Validation

tr_validate

Validates Turkish national ID, tax number, IBAN, licence plate, IMEI, barcodes, KEP, MERSİS, postal code and ISBN from one endpoint, with type auto-detection.

Goes past a yes/no: resolves the bank behind an IBAN, the province behind a licence plate and the GS1 country prefix behind a barcode. Pure local computation — no upstream service is called, so latency is microseconds and the answer never changes for the same input.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
typeNoOmitted → inferred from the format.auto
valueYesValue to validate.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / type / enum
      Previous value: -[
      -  "auto",
      -  "tckn",
      -  "vkn",
      -  "iban",
      -  "plate",
      -  "imei",
      -  "gtin",
      -  "kep",
      -  "mersis"
      -]New value: +[
      +  "auto",
      +  "tckn",
      +  "vkn",
      +  "iban",
      +  "plate",
      +  "imei",
      +  "gtin",
      +  "kep",
      +  "mersis",
      +  "postal",
      +  "isbn"
      +]
  2. Changed2 schema fields changed
    • changedInput schema / properties / type / description
      Previous value: -"Belirtilmezse biçimden otomatik tespit edilir."New value: +"Omitted → inferred from the format."
    • changedInput schema / properties / value / description
      Previous value: -"Doğrulanacak değer."New value: +"Value to validate."
  3. Changed1 schema field changed
    • changedInput schema / properties / type / enum
      Previous value: -[
      -  "auto",
      -  "tckn",
      -  "vkn",
      -  "iban",
      -  "plate",
      -  "imei",
      -  "gtin"
      -]New value: +[
      +  "auto",
      +  "tckn",
      +  "vkn",
      +  "iban",
      +  "plate",
      +  "imei",
      +  "gtin",
      +  "kep",
      +  "mersis"
      +]
  4. First observed

TDQS

A4.5/5.0
Behavior5/5

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

With no annotations provided, the description carries the full burden and excels by explicitly stating pure local computation, no upstream calls, microsecond latency, and deterministic output. It also mentions that it resolves richer info beyond a simple boolean, setting clear behavioral expectations.

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

Conciseness5/5

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

The description is tight and well-structured: the first paragraph explains what the tool validates, and the second adds value-added resolution and performance characteristics. No redundant or irrelevant content.

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?

Given a simple input schema and no output schema, the description covers the tool's scope, the extra resolution it performs, and its non-network, deterministic behavior. It provides sufficient context for an agent to know what to expect from calling it.

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%, so baseline is 3. The type parameter description ('Omitted → inferred from the format') and the tool's list of supported formats add meaningful context about how the value is interpreted. The value description is minimal but the overall purpose makes it clear enough.

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 clearly states that the tool validates a specific list of Turkish identifiers and numbers, with type auto-detection, from a single endpoint. The title reinforces the purpose, and the enumeration of supported types distinguishes it from more specific sibling validators.

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?

The description implies usage when the type is unknown or multiple types are involved, but it does not explicitly compare with dedicated validators like iban_validate or isbn_validate. There is no direct 'when not to use' guidance, leaving the decision 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.

Resources