Skip to main content
Glama

On 문서

법령에서 문구 찾기

med_search
Read-only

[On 근거] 목록의 법률·시행령·시행규칙·별도 규칙 원문에서 문구를 찾는다(띄어쓰기 무시). 조문 번호를 모를 때.

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": {
      "query": "<query>"
    },
    "name": "med_search"
  }
}

Input Schema

NameRequiredDescriptionDefault
lawNo
groupNo분야(med_laws 의 [ ] 안 이름, 예: emergency)
queryYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare this is a safe, read-only, closed-world read. Beyond them, the description adds one genuinely useful behavioral detail, that matching ignores spacing, and confines the search to documents in the list. It says nothing about how results are returned or how many hits come back.

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?

Two compact sentences with the purpose stated first, then the search condition, with no filler. The bracketed '[On 근거]' tag is opaque to someone who does not already know the tool family, but the core message takes only a line.

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 three-parameter, read-only text search with no output schema, the description should say what a search returns (matched passages, with law and article references). It leaves that and the `law` parameter unexplained, so it is adequate rather than complete.

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 coverage is only 33%, so the description has to carry more weight. It clarifies that the search text is a phrase matched with spacing ignored, but `law` is never explained (presumably narrowing to one statute) and `group` is documented only in the schema itself, leaving real meaning gaps.

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?

A specific verb-and-resource pair: it finds a phrase inside the source text of statutes, enforcement decrees, enforcement rules, and separate rules 'in the [On 근거] list'. Scope is narrowed to the documents in that list, which distinguishes it from a general law lookup, though no sibling tool is named outright.

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?

The closing clause '조문 번호를 모를 때' gives an explicit use condition: reach for this when the article number is unknown, which implicitly routes article-number lookups elsewhere. It stops short of naming an alternative tool or stating when not to use it.

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.