Skip to main content
Glama

score_options

Score options against criteria when the score matrix is supplied separately. Returns the full normalized scored matrix (per-option, per-criterion) plus a ranking, without the narrative winner explanation. Use create_decision if you want a winner + explanation.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
methodNoweighted_sum
scoresYesScore matrix. Object form: {"Option A": {"Criterion 1": 8, ...}, ...}. Array form: [{"option":"Option A","scores":{...}}]. Or inline scores on each option object.
optionsYesNamed alternatives. Strings ["A","B"] or objects [{"name":"A","scores":{...}}].
criteriaYesWeighted criteria. Each: {name, weight (relative, >=0), direction: 'benefit' (higher better, default) | 'cost' (lower better)}.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

With no annotations provided, the description must explain behavioral traits. It discloses what is returned (full normalized scored matrix, ranking) and what is omitted (narrative winner explanation). This is meaningful behavioral context beyond the minimal function statement, though it doesn't detail side effects or permission requirements (likely none needed).

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?

Two concise sentences: the first defines purpose and output, the second clarifies the alternative. No redundancy, front-loaded with the key functionality. Every sentence earns its place.

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 4-parameter tool with nested objects and no output schema, the description explains the return value format (normalized matrix + ranking) and contrasts with a sibling. It doesn't explain the scoring methods (e.g., weighted_sum vs. topsis), but the schema partially covers that. Overall, it provides sufficient context for an agent to invoke 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?

The input schema covers 75% of parameters with descriptions, leaving only 'method' without a description. The tool description adds little parameter-specific detail beyond what the schema provides, but it does mention the matrix is supplied separately, which aligns with the 'scores' parameter. Since coverage is moderate, a score of 3 is appropriate.

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 clearly states the tool's function: scoring options against criteria using a separately supplied matrix. It specifically says it returns a normalized scored matrix and ranking, and contrasts with create_decision which provides a narrative winner. This distinguishes it effectively from siblings.

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

Usage Guidelines5/5

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

Explicitly states when to use this tool ('when the score matrix is supplied separately') and provides an alternative ('Use create_decision if you want a winner + explanation'). This gives clear guidance on tool selection compared to at least one sibling, satisfying the 'when/when-not/alternatives' criterion.

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.