Skip to main content
Glama

Idn Ojk Regulation Text

idn_ojk_regulation_text
Read-onlyIdempotent

Article (Pasal) text of one OJK regulation by number, extracted from the official PDF copy on the OJK site. Pass pasal to read one article, or keyword to find the articles that contain a word (e.g. "penawaran tender" for tender-offer articles of 9/POJK.04/2018). With neither, returns the opening text and the list of articles. Says explicitly when the PDF cannot be read or the article is not found.

Example tool call

This call uses example arguments supplied in the tool’s input schema.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "pasal": "5",
      "number": "9/POJK.04/2018"
    },
    "name": "idn_ojk_regulation_text"
  }
}

Input Schema

NameRequiredDescriptionDefault
pasalNoArticle number, e.g. "5" or "Pasal 5". Optional.
numberYesRegulation number, e.g. "9/POJK.04/2018".
keywordNoIndonesian word or phrase to find in articles, e.g. "penawaran tender". Optional.

Output Schema

NameRequiredDescriptionDefault
hintNo
noteNo
textNo
foundNo
pasalNo
titleNo
numberNo
reasonNo
keywordNo
messageNo
pdf_urlNo
articlesNo
page_urlNo
publisherNo
attributionNo
article_listNo
opening_textNo
effective_dateNo
matched_articlesNo
extraction_warningsNo
articles_in_documentNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4/5.0
Behavior4/5

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

The annotations already cover the safety profile (readOnly, idempotent, non-destructive), so the description's contribution is the source and failure behavior: content is extracted from the official PDF, and it explicitly reports when the PDF cannot be read or an article is not found. That is meaningful context beyond the annotations, though it says nothing about extraction quality or latency for large PDFs.

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?

Three sentences, front-loaded with what the tool returns and the source, followed by the mode selection and the failure behavior. Nothing is redundant, though the final sentence about explicit error reporting is slightly awkward in phrasing.

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?

An output schema exists, so return-value structure need not be explained, and the description covers source, the three input modes, and error reporting. For a one-required-parameter read tool with full schema coverage this is essentially complete, with only sibling routing left implicit.

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 the per-parameter descriptions are already present and the baseline is 3. The description adds combination semantics the schema does not encode: pasal selects a single article, keyword selects a filtered article set, and omitting both yields the opening text plus an article listing.

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 states a specific verb and resource: it returns the Article (Pasal) text of one OJK regulation identified by number, extracted from the official PDF on the OJK site. That distinguishes it from metadata-oriented siblings like idn_ojk_regulation_detail, though it does not explicitly separate itself from the similarly named idn_regulation_article_text.

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?

It gives explicit mode selection: pass pasal to read one article, pass keyword to find articles containing a word (with a concrete example), and with neither you get the opening text plus the article list. The only gap is that it never names when to prefer a sibling tool such as idn_ojk_regulation_detail or a search tool.

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.