Skip to main content
Glama

케어그레이드 — 장기요양기관 평가 조회

기관 2~3곳 비교 / Compare institutions

compare_institutions
Read-onlyIdempotent

같은 필드를 나란히 돌려줍니다. 급여종류가 다르면 등급을 서로 비교하지 않도록 안내하세요. 값은 국민건강보험공단이 공개한 평가 결과이며 연 1회 갱신됩니다. 없는 값은 추측하지 말고 페이지(url)나 문의로 안내하세요. / Values are NHIS-published evaluation results, updated yearly. Never guess missing values; point to the url or the contact page.

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": {
      "keys": "<keys>"
    },
    "name": "compare_institutions"
  }
}

Input Schema

NameRequiredDescriptionDefault
keysYes비교할 기관 키 2~3개 / 2–3 keys

Output Schema

NameRequiredDescriptionDefault
metaYes
itemsYes
missingYes
sameServiceYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "$schema": "https://json-schema.org/draft/2020-12/schema",
      +  "additionalProperties": false,
      +  "properties": {
      +    "items": {
      +      "items": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "addr": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "cap": {
      +            "type": [
      +              "number",
      +              "null"
      +            ]
      +          },
      +          "density": {
      +            "type": [
      +              "number",
      +              "null"
      +            ]
      +          },
      +          "dong": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "grade": {
      +            "description": "평가등급 A~E / Evaluation grade",
      +            "type": "string"
      +          },
      +          "gugun": {
      +            "type": "string"
      +          },
      +          "hist": {
      +            "description": "[평가연도, 등급] 이력 / [year, grade] history",
      +            "items": {
      +              "items": false,
      +              "maxItems": 2,
      +              "minItems": 2,
      +              "prefixItems": [
      +                {
      +                  "type": "number"
      +                },
      +                {
      +                  "type": "string"
      +                }
      +              ],
      +              "type": "array"
      +            },
      +            "type": "array"
      +          },
      +          "key": {
      +            "type": "string"
      +          },
      +          "name": {
      +            "type": "string"
      +          },
      +          "nextEval": {
      +            "type": [
      +              "number",
      +              "null"
      +            ]
      +          },
      +          "nurse": {
      +            "type": [
      +              "number",
      +              "null"
      +            ]
      +          },
      +          "owner": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "sido": {
      +            "type": "string"
      +          },
      +          "since": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "svc": {
      +            "type": "string"
      +          },
      +          "svcCode": {
      +            "type": "string"
      +          },
      +          "trend": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "unlisted": {
      +            "type": "boolean"
      +          },
      +          "url": {
      +            "description": "케어그레이드 페이지 주소 — 답변에 출처로 적는다 / Cite this url",
      +            "type": "string"
      +          },
      +          "year": {
      +            "description": "평가연도 / Evaluation year",
      +            "type": [
      +              "number",
      +              "null"
      +            ]
      +          },
      +          "years": {
      +            "type": [
      +              "number",
      +              "null"
      +            ]
      +          },
      +          "zip": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          }
      +        },
      +        "required": [
      +          "key",
      +          "name",
      +          "svc",
      +          "svcCode",
      +          "owner",
      +          "sido",
      +          "gugun",
      +          "dong",
      +          "addr",
      +          "zip",
      +          "grade",
      +          "year",
      +          "nextEval",
      +          "since",
      +          "years",
      +          "cap",
      +          "density",
      +          "nurse",
      +          "hist",
      +          "trend",
      +          "unlisted",
      +          "url"
      +        ],
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "meta": {
      +      "additionalProperties": false,
      +      "properties": {
      +        "cite": {
      +          "type": "string"
      +        },
      +        "license": {
      +          "type": "string"
      +        },
      +        "notice": {
      +          "type": "string"
      +        },
      +        "source": {
      +          "type": "string"
      +        },
      +        "sourceUrl": {
      +          "type": "string"
      +        },
      +        "updated": {
      +          "description": "데이터 기준일 / Data as of",
      +          "type": "string"
      +        }
      +      },
      +      "required": [
      +        "updated",
      +        "source",
      +        "sourceUrl",
      +        "license",
      +        "notice",
      +        "cite"
      +      ],
      +      "type": "object"
      +    },
      +    "missing": {
      +      "items": {
      +        "type": "string"
      +      },
      +      "type": "array"
      +    },
      +    "sameService": {
      +      "type": "boolean"
      +    }
      +  },
      +  "required": [
      +    "items",
      +    "missing",
      +    "sameService",
      +    "meta"
      +  ],
      +  "type": "object"
      +}
  2. First observed

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already declare readOnly/idempotent/non-destructive/closed-world, so the bar is lower, and the description still adds substantive behavior: the data provenance (NHIS-published evaluation results), the yearly refresh cycle implying possible staleness, and a rule against guessing absent values. The only gap is nothing about output shape or handling of partially missing keys, but the presence of an output schema lessens that.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The core purpose is front-loaded, but the text is bilingual and redundant, and the Korean half carries caveats (grade comparison) that the English half omits, creating asymmetry rather than a clean single statement. Several sentences are load-bearing, but the duplication costs space without adding value.

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 small read-only comparison tool with a full output schema, the description covers what matters: source, freshness, comparison validity caveat, and missing-data policy. It could be a touch more complete by noting behavior when some keys resolve and others do not, but overall it is sufficient to call correctly.

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 100% and the single 'keys' parameter already documents the 2-3 key requirement and key format via pattern and min/max items. The description adds no further meaning about key syntax or duplicate handling, so the baseline 3 applies.

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 opening line explains the mechanic: it returns the same fields side by side for the requested keys, which together with the name/title makes the compare-2-3-institutions purpose clear. It does not explicitly contrast with get_institution or search_institutions, so an agent must infer that this is the multi-entity variant.

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

Usage Guidelines3/5

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

It gives a conditional caveat (do not compare grades when 급여종류 differs) and a fallback instruction for missing values (point to url or contact page), which is real usage guidance. However, there is no statement of when to choose this tool over the single-institution or search siblings, so routing guidance is only implied.

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