Skip to main content
Glama

PHQ-9 憂鬱症狀計分

wellness__score_phq9
Read-onlyIdempotent

[數位健康與遠距醫療指南]PHQ-9 憂鬱症狀計分:9 題 0–3 分,回傳嚴重度與第 9 題警示。不是診斷。

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": "wellness__score_phq9"
  }
}

Input Schema

NameRequiredDescriptionDefault
answersYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, and destructiveHint=false, so the safety profile is clear. The description adds valuable behavior beyond annotations: it says the tool returns a severity result and an item 9 warning, and it explicitly disclaims diagnostic use. It does not describe validation failures or output formatting.

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 definition is a single tight sentence, front-loaded with the guide label and the core scoring purpose. Every clause — instrument, scale, return summary, and non-diagnostic caveat — earns its place with no redundant wording.

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 one-parameter scoring tool with no output schema, the description covers the input scale, the return summary, and an important clinical caveat. It is slightly incomplete because it does not spell out severity bands, output structure, or explicit validation constraints on the answers array.

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 description coverage is 0%, so the description must carry parameter meaning. The phrase '9 題 0–3 分' constrains the single answers array to nine numeric responses each scored 0–3, which is substantial guidance beyond the bare schema. It stops short of explicitly stating array length or ordering rules.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description specifies the exact instrument (PHQ-9), the scoring scale (9 items, 0–3 points), and what is returned (severity and item 9 warning). The instrument name clearly separates it from siblings such as wellness__score_gad7 and wellness__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 instrument name and the caveat '不是診斷' (not a diagnosis), which signals a screening—not diagnostic—context. However, the description does not explicitly state when to choose PHQ-9 over GAD-7 or the mood thermometer, nor does it describe prerequisites or 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.

Resources