Skip to main content
Glama

GAD-7 焦慮症狀計分

score_gad7
Read-onlyIdempotent

GAD-7 焦慮症狀計分:7 題 0–3 分,回傳嚴重度。不是診斷。

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": {
      "answers": "<answers>"
    },
    "name": "score_gad7"
  }
}

Input Schema

NameRequiredDescriptionDefault
answersYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare read-only, idempotent, non-destructive behavior, so the description only needs to add context beyond that. It usefully adds the 0–3 item scale, that the output is a severity result, and the important clinical caveat that this is not a diagnosis; it does not describe validation or exact return format.

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?

The description is a single front-loaded sentence with no wasted wording. The scoring range and return type come first, followed by the critical non-diagnostic caveat.

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 simple one-parameter scoring tool with rich safety annotations, this is largely complete: it covers purpose, input scale, return type, and the non-diagnostic scope. Minor gaps remain around exact output format and input validation, but neither is essential for correct invocation.

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 0%, so the description must carry parameter meaning, and '7 題 0–3 分' successfully explains that the answers array represents seven items each scored from 0 to 3. It does not explicitly state array length, integer type, or answer order, but the core semantics are conveyed.

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 description states a specific instrument and action: GAD-7 anxiety symptom scoring with 7 items scored 0–3 and a severity return. This clearly distinguishes it from depression or mood tools by resource name, but it does not explicitly contrast it with siblings such as score_phq9 or score_mood_thermometer.

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?

Usage is implied by the GAD-7 instrument name, and the caveat '不是診斷' gives a clear when-not for diagnostic use. However, it gives no explicit guidance on when to choose this over score_phq9 or other sibling tools.

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