Skip to main content
Glama

Validate Score

validate_score
Read-only

Validate a fugue.score.v1 asset with the library validator, answering as a local validate_score does. Pass score, the asset itself (not a path or URL). Returns {valid, error?}: an invalid score is an answer, not a failure.

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": {
      "score": "<score>"
    },
    "name": "validate_score"
  }
}

Input Schema

NameRequiredDescriptionDefault
scoreYesThe fugue.score.v1 asset itself.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.7/5.0
Behavior4/5

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

Beyond the readOnlyHint annotation, the description explains the return contract ({valid, error?}) and, importantly, that an invalid score is a legitimate answer rather than a tool failure — a genuinely useful behavioral signal that prevents an agent from treating validation errors as exceptions. It does not mention validator version or schema-version handling, but the key failure-mode semantics are covered.

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?

Three compact sentences, front-loaded with purpose and followed by input constraint and return shape; nothing is padding. The phrase 'answering as a local validate_score does' is somewhat opaque and costs a little clarity.

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 validation tool with no output schema, the description supplies the missing return shape and error semantics, which is what an agent needs to interpret results correctly. Only minor gaps remain, such as what validator or spec version is applied.

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 coverage is 100%, so the schema already documents the single parameter, establishing a baseline of 3. The description does add meaning by clarifying the asset must be passed inline rather than as a path or URL, which the schema text alone does not make explicit.

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 and resource: validate a fugue.score.v1 asset using the library validator, so there is no ambiguity about what the tool does. It does not, however, differentiate itself from nearby siblings such as check_invention or import_score, which an agent might reasonably confuse with validation.

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 definition gives a concrete input constraint (pass the asset itself, not a path or URL), which implicitly tells the agent this operates on in-memory objects rather than files. It stops short of naming alternatives or stating when not to use it, so usage selection is left to inference.

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