Skip to main content
Glama

투표함 — 전자투표 법령 자료 (Korean e-voting statutes, quorum & consult)

정족수 판정

judge_resolution
Read-onlyIdempotent

표 수와 의결권을 넣어 가결·부결을 판정한다. 투표함이 개표에 쓰는 함수 그대로. 집합건물·리모델링은 사람 수와 의결권(면적)을 모두, 주주총회는 의결권(주식 수)만 넣어야 판정된다. 아무것도 바꾸지 않는 계산이다.

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": {
      "preset": "<preset>"
    },
    "name": "judge_resolution"
  }
}

Input Schema

NameRequiredDescriptionDefault
presetYes안건 유형 키. 예: "bldg_general"
castWeightNo출석 의결권 합(㎡). 집합건물·리모델링 안건(bldg_* · remodel_*)은 면적(㎡), 주주총회 안건(agm_*)은 주식 수(재적 = 발행주식총수, 출석 = 출석한 주주의 의결권). 예: 30800
approveCountNo찬성 인원. 예: 323
approveWeightNo찬성 의결권 합(㎡). 집합건물·리모델링 안건(bldg_* · remodel_*)은 면적(㎡), 주주총회 안건(agm_*)은 주식 수(재적 = 발행주식총수, 출석 = 출석한 주주의 의결권). 예: 24279.3
attendeeCountNo출석(투표) 인원. 전자+서면+현장. 예: 380
eligibleCountNo재적 인원(구분소유자·조합원 수). 예: 400
eligibleWeightNo재적 의결권 합(면적 ㎡). 집합건물·리모델링 안건(bldg_* · remodel_*)은 면적(㎡), 주주총회 안건(agm_*)은 주식 수(재적 = 발행주식총수, 출석 = 출석한 주주의 의결권). 예: 32431.2
directAttendanceCountNo현장 직접 출석 인원. 정비사업(redev_*)·소규모주택정비(small_redev_*) 안건의 직접 출석 요건(유형에 따라 10분의 1 · 5분의 1 · 과반수)에 쓴다. 예: 45

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • changedInput schema / properties / approveWeight / description
      Previous value: -"찬성 의결권 합(㎡). 집합건물만. 예: 24279.3"New value: +"찬성 의결권 합(㎡). 집합건물·리모델링 안건(bldg_* · remodel_*)은 면적(㎡), 주주총회 안건(agm_*)은 주식 수(재적 = 발행주식총수, 출석 = 출석한 주주의 의결권). 예: 24279.3"
    • changedInput schema / properties / castWeight / description
      Previous value: -"출석 의결권 합(㎡). 집합건물만. 예: 30800"New value: +"출석 의결권 합(㎡). 집합건물·리모델링 안건(bldg_* · remodel_*)은 면적(㎡), 주주총회 안건(agm_*)은 주식 수(재적 = 발행주식총수, 출석 = 출석한 주주의 의결권). 예: 30800"
    • changedInput schema / properties / directAttendanceCount / description
      Previous value: -"현장 직접 출석 인원. 정비사업(redev_*)의 10분의 1 요건에 쓴다. 예: 45"New value: +"현장 직접 출석 인원. 정비사업(redev_*)·소규모주택정비(small_redev_*) 안건의 직접 출석 요건(유형에 따라 10분의 1 · 5분의 1 · 과반수)에 쓴다. 예: 45"
    • changedInput schema / properties / eligibleWeight / description
      Previous value: -"재적 의결권 합(면적 ㎡). 집합건물만. 예: 32431.2"New value: +"재적 의결권 합(면적 ㎡). 집합건물·리모델링 안건(bldg_* · remodel_*)은 면적(㎡), 주주총회 안건(agm_*)은 주식 수(재적 = 발행주식총수, 출석 = 출석한 주주의 의결권). 예: 32431.2"
  2. Changed8 schema fields changed
    • changedInput schema / properties / approveCount / description
      Previous value: -"찬성 인원"New value: +"찬성 인원. 예: 323"
    • addedInput schema / properties / approveWeight / description
      Added value: +"찬성 의결권 합(㎡). 집합건물만. 예: 24279.3"
    • changedInput schema / properties / attendeeCount / description
      Previous value: -"출석(투표) 인원"New value: +"출석(투표) 인원. 전자+서면+현장. 예: 380"
    • addedInput schema / properties / castWeight / description
      Added value: +"출석 의결권 합(㎡). 집합건물만. 예: 30800"
    • changedInput schema / properties / directAttendanceCount / description
      Previous value: -"직접 출석 인원(정비사업)"New value: +"현장 직접 출석 인원. 정비사업(redev_*)의 10분의 1 요건에 쓴다. 예: 45"
    • changedInput schema / properties / eligibleCount / description
      Previous value: -"재적 인원"New value: +"재적 인원(구분소유자·조합원 수). 예: 400"
    • changedInput schema / properties / eligibleWeight / description
      Previous value: -"재적 의결권 합"New value: +"재적 의결권 합(면적 ㎡). 집합건물만. 예: 32431.2"
    • addedInput schema / properties / preset / description
      Added value: +"안건 유형 키. 예: \"bldg_general\""
  3. First observed

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so the safety profile is covered; the line '아무것도 바꾸지 않는 계산이다' largely restates that. The one genuine addition is '투표함이 개표에 쓰는 함수 그대로', which tells the agent results match the official tally engine. It does not say what the tool returns (verdict plus which quorum test failed) or what happens when required counts are omitted for a bldg_* preset.

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?

Four short sentences, front-loaded with the action, followed by the per-type input rule and the read-only assurance. Nothing is padded, though the closing 'changes nothing' sentence is near-redundant with the readOnly/destructive annotations.

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 an 8-parameter judgment tool with no output schema, the description covers inputs well but is silent on the result: whether it returns only 가결/부결 or also quorum breakdowns and the governing threshold, and how it behaves when the wrong parameter family is supplied. Those are the main gaps an agent would hit on first call.

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 description coverage is 100%, so each of the 8 parameters is already documented, including the area-vs-shares distinction that the description repeats. The description does add a consolidated rule about which parameter families are mandatory per preset, but that rule is also spelled out inside the individual schema descriptions, so the marginal value over the schema is modest.

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+resource: take vote counts and voting rights and return a pass/fail (가결·부결) judgment. That is unambiguous and distinct from the sibling get_resolution_requirement, which by name retrieves requirements rather than judging. It does not explicitly name that sibling, so differentiation is inferred rather than stated.

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?

The description gives conditional input guidance per resolution family (bldg_*/remodel_* need both headcount and area; agm_* needs shares only), which implies when the tool applies. However, it never says when to use this instead of get_resolution_requirement, nor whether a requirement lookup must precede judging, and it offers no exclusions or prerequisites.

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