Skip to main content
Glama

validate_spec

Check whether a job spec would be admitted to an Alternately auction: structural errors, how many conformance criteria a machine can decide, and the rung the job starts on. Pass the spec as an object.

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": {
      "spec": "<spec>"
    },
    "name": "validate_spec"
  }
}

Input Schema

NameRequiredDescriptionDefault
specYesThe job spec (schema/job-spec.schema.json).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior3/5

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

No annotations are provided, so the description must carry behavioral context; it discloses the checks performed and implies a read-only validation, but does not state side effects, authorization/rate limits, or detailed result semantics. The output facets are named but not fully described.

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?

It is short and front-loaded, naming the check and its outputs before giving the calling instruction. The final sentence is slightly redundant with the schema but not harmful.

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?

For a one-parameter validation tool with a nested external schema and no output schema, the description is adequate to select and call it, but it leaves return interpretation and admission-result details underspecified.

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% and the only parameter is already documented; 'Pass the spec as an object' restates schema information without adding syntax, constraints, or examples beyond the external job-spec schema reference.

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 verb and resource ('Check whether a job spec would be admitted') and enumerates validation facets such as structural errors, conformance criteria count, and starting rung. It is clearly not a generic helper, though it does not explicitly differentiate itself from the sibling how_it_works.

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?

It implies use when validating a candidate job spec and tells the caller to pass the spec object, but gives no explicit when-not-to-use guidance, prerequisites, or alternative for explanatory/help content such as how_it_works.

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.