Skip to main content
Glama

validate_template_params

Validates parameter values against a workflow template, checking required fields and data types to catch mismatches before execution.

Instructions

Validate that parameter values satisfy a workflow template (required params, types).

Input Schema

NameRequiredDescriptionDefault
valuesYesParameter values
templateYesTemplate JSON string

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.1/5.0
Behavior2/5

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

No annotations exist, so the description bears the full burden. It does not state whether the tool is read-only, whether it returns a boolean, an error list, or throws on failure, nor what happens with unknown or extra parameter names. For a validation tool, the shape of the failure result is the single most important behavioral fact and it is absent.

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?

One sentence, front-loaded with the verb, no filler. It is appropriately short, though the brevity is partly the cause of the missing return-behavior detail.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With no annotations and no output schema, the description is the only source of information about the result, yet it says nothing about return values or failure reporting. It also does not explain how 'values' maps onto a template's declared parameters, which matters given nested-object input.

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 description coverage is 100%, so the schema already documents both 'template' and 'values'. The description adds only that the template carries required params and types, which is mild added context beyond the schema's 'Template JSON string' — baseline 3 is appropriate.

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 parameter values against a workflow template, with a parenthetical naming what it checks (required params, types). This distinguishes it from validate_workflow, which validates the workflow graph itself, though the description does not make that contrast explicit.

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 word 'validate' implies a pre-flight check before applying or building a workflow, but the description never says when to call it, what to do with the result, or how it relates to siblings like validate_workflow and apply_template. Usage is only inferable.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.