Skip to main content
Glama

score_test

Score a finished test. answers is the list of answer values in question order (PHQ-9: nine values 0-3; SAS: 33 values 1-6). Present the result with care, include helplines if returned, and remind the user this is a screening, not a diagnosis.

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

Input Schema

NameRequiredDescriptionDefault
testYesphq9 = depression (9 questions), sas = smartphone addiction (33 questions)
localeNoLanguage of the questions and result: uk, en, hr, ru, pl. Use the language the user speaks.uk
answersYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / locale / enum
      Previous value: -[
      -  "uk",
      -  "en",
      -  "hr",
      -  "ru",
      -  "pl"
      -]New value: +[
      +  "uk",
      +  "en",
      +  "hr",
      +  "ru",
      +  "pl",
      +  "es"
      +]
  2. First observed

TDQS

A4.1/5.0
Behavior3/5

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

With no annotations, the description must carry behavioral disclosure. It usefully states that results should be presented with care, helplines included if returned, and that the output is screening rather than diagnosis, but it does not describe validation behavior, error handling, or whether any data is stored.

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 three sentences, front-loads the core action, and then adds only the input constraints and safety handling that matter. There is no redundant wording.

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?

The description covers the critical input format and important safety guidance, which is valuable for a scoring tool with no annotations. However, with no output schema, it does not explain the shape of the returned result beyond mentioning helplines, nor does it cover validation or error behavior.

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?

The description adds important meaning beyond the schema by specifying that `answers` is in question order and giving per-test ranges: PHQ-9 nine values 0-3 and SAS 33 values 1-6. The schema already documents the `test` and `locale` enums, but the answer semantics are a meaningful addition.

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 states a specific verb and resource: 'Score a finished test.' The word 'finished' distinguishes this from starting or listing tests, so an agent can identify the operation without opening the schema.

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 clear context that this is for a completed test, which implies it should be used after answers have been collected. It does not explicitly name alternatives or state when not to use it, but the condition 'finished test' provides usable guidance.

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