Skip to main content
Glama

lokalapi – Indonesian reference data

kbli_search

Find the right KBLI 2025 business classification code (5-digit, mandatory in Indonesia's OSS business licensing since 15 June 2026) from a free-text business activity in Indonesian or English. Returns official BPS titles, descriptions and hierarchy. Costs $0.02 per call (x402, USDC on Base; see lokalapi_info).

Input Schema

NameRequiredDescriptionDefault
qYesBusiness activity, e.g. 'kafe', 'software development', 'nickel mining', or a KBLI code
levelNoClassification level (default kelompok = 5-digit code)
limitNoMax results (1-25, default 10)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior4/5

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

With no annotations, the description carries the full disclosure burden and does the most important part: it declares the tool is paid ($0.02 per call, x402, USDC on Base) and points to lokalapi_info, which is critical since an agent could otherwise invoke it blindly. It also states what comes back (official BPS titles, descriptions, hierarchy). It does not cover rate limits, failure/empty-result behavior, or whether calls are billed only on success.

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?

Three tight sentences: purpose first, then return content, then cost. No filler, and the most decision-relevant fact (paid call) is stated explicitly rather than buried. Every sentence earns its place.

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 3-param tool with no output schema and no annotations, the description covers purpose, return payload, cost model, and the pointer to lokalapi_info, which is close to sufficient. It stops short of explaining result ranking/exactness, empty-result behavior, or how the 'level' hierarchy relates to the 5-digit default.

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 the schema already documents q, level, and limit including examples and defaults; baseline 3 applies. The description only adds the language dimension ('Indonesian or English') and the reverse-lookup capability, both of which partly duplicate the schema's own q examples.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description gives a concrete verb+resource ('Find the right KBLI 2025 business classification code') plus scope (5-digit, mandatory in OSS licensing) and input type (free-text business activity in Indonesian or English). It never names or contrasts with the sibling kbli_convert, and the phrase 'or a KBLI code' as an input actually blurs the boundary with that converter, so sibling differentiation is missing.

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

Usage Guidelines2/5

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

There is no explicit when-to-use or when-not-to-use guidance, and no routing to kbli_convert, kbli_convert_batch, or wilayah_* siblings. The only pointer is 'see lokalapi_info' for payment mechanics, which is not usage guidance for the search task itself. Usage must be inferred from the purpose sentence.

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