Skip to main content
Glama

경전 원문 검색

search_scripture
Read-only

경전 원문 전문 검색. 띄어쓰기를 무시한 부분 문자열 일치라 '상시일기'와 '상시 일기'가 같은 결과를 준다. 글자가 겹치지 않는 뜻 검색은 안 된다 — 실제 본문에 나오는 말로 찾을 것. '전망품 12'처럼 품·편 이름에 절 번호를 붙여 적으면 그 절이 맨 앞에 온다. 인용하려면 결과의 id로 get_passage를 불러 원문 전체를 확인한다.

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": {
      "q": "<q>"
    },
    "name": "search_scripture"
  }
}

Input Schema

NameRequiredDescriptionDefault
qYes찾을 말
bookNo책 id. jeongjeon(정전) daejonggyeong(대종경) buljoyogyeong(불조요경) yejeon(예전) jeongsan(정산종사법어) daesan(대산종사법어) gyosa(원불교 교사) gyoheon(원불교 교헌) seonoerok(대종경선외록) hanulan(한울안 한 이치에) daesanbm1~5(대산종사법문집 1~5집)
modeNophrase(기본)는 질의 전체를 한 덩어리로, all은 낱말이 모두 들어 있으면 일치(떨어져 있어도 걸림)
limitNo돌려줄 최대 건수(기본 10)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations only declare readOnly/non-destructive/openWorld=false; the description adds real behavioral detail beyond them — whitespace-insensitive matching with a concrete example, the fact that semantic recall is unsupported, and a ranking quirk where '전망품 12' style queries push that verse to the top. It does not say what a result row contains (only that it carries an id) or how results are otherwise ordered or paginated.

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?

Five short sentences, front-loaded with purpose, then matching semantics, rejection rule, ranking trick, and citation workflow — each carrying distinct, non-redundant information. No filler or restatement of the title.

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 4-parameter read-only search with no output schema and full schema coverage, the description supplies the matching model, the query-writing rules, and the citation path. The remaining gap is that the agent is told results have ids but not what else comes back per hit, so it cannot judge result richness without 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 the baseline is 3, but the description adds genuine meaning for q: the whitespace-collapsing example and the 'chapter name + verse number' syntax are query-construction rules the schema does not express. book, mode, and limit are left entirely to the schema, which is acceptable because their descriptions there are already rich.

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?

'경전 원문 전문 검색' states a specific verb and resource, and the substring-matching sentence sharply separates it from any semantic or dictionary search. It also names get_passage as the follow-up tool. It does not explicitly contrast itself with search_sungga, so an agent must infer which corpus to use from the query itself.

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 a clear when-to ('실제 본문에 나오는 말로 찾을 것') and a clear when-not ('글자가 겹치지 않는 뜻 검색은 안 된다'), plus an explicit next step for citation. What is missing is any routing rule against the sibling search_sungga tool when the agent is unsure whether the passage is a scripture or a sungga.

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