Skip to main content
Glama

구조AI — Korean Building Code (KDS/KCS)

조항 코드로 원문 가져오기

get_clause
Read-onlyIdempotent

조항·표 코드를 그대로 주면 그 조항의 현행 원문을 돌려준다(예: 'KDS 14 31 10 §4.3.2.1.1.4', 'KDS 41 30 10 표 3.3-1', 항까지: 'KDS 14 20 50 §4.3.1(2)'). search_building_code 결과의 code·ai_meta.cited[].parts 를 그대로 넣으면 된다. Fetch the current text of a KDS/KCS clause or table by its code.

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": {
      "code": "<code>"
    },
    "name": "get_clause"
  }
}

Input Schema

NameRequiredDescriptionDefault
codeYesKDS·KCS 조항 또는 표 코드

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, and closed-world behavior, so the safety profile is covered. The description adds one genuinely useful behavior beyond that — it returns the '현행' (current) version of the text, implying version-sensitivity — but says nothing about miss handling or whether the result includes surrounding context.

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?

Front-loaded with the operation, then examples, then provenance, all in tight sentences. The trailing English sentence largely restates the opening Korean sentence, adding a small amount of redundancy, though it does aid non-Korean agents.

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?

For a simple one-parameter lookup with annotations and no output schema, most of what an agent needs is present. However, since there is no output schema, the description never indicates what the returned text looks like (plain string vs. structured object with clause metadata), leaving a notable gap for callers that must parse 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?

Schema coverage is 100% and there is only one parameter, so the baseline is 3. The description exceeds that by demonstrating concrete code syntax (spaced section numbers, '§', '표' table notation, parenthetical item numbers) and by naming the exact upstream fields that produce valid values.

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: return the current full text of a KDS/KCS clause or table, identified by its code. Concrete code examples ('KDS 14 31 10 §4.3.2.1.1.4', table form, and clause-level '(2)' depth) make it unambiguous, and it clearly separates itself from search_building_code as the retrieval half of a search-then-fetch pair.

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?

Explicitly instructs the agent to feed in the `code` or `ai_meta.cited[].parts` values from search_building_code results, which gives clear placement in a workflow. It does not state any exclusions or failure conditions (e.g., what to do when a code is not found), so it stops short of full when/when-not guidance.

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