Skip to main content
Glama

validate_blueprint

Read-onlyIdempotent

Checks a Blueprint asset's structure, file size, and validity without compiling it. Use it for quick static verification and to get a clear pass/fail status before deeper analysis.

Instructions

Validate a blueprint asset by checking its structure, file size, and validity. Static (asset-registry + on-disk) check only: it does NOT compile the Blueprint.

Returns: { blueprint_path: string, resolved_object_path: string, blueprint_class: string, is_blueprint: bool, validation_status: string, validation_message: string, is_static_analysis: bool, file_size_bytes?: int, file_size_mb?: number }

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
blueprint_nameNoAlias of `blueprint_path` (same value, same meaning). Accepted because sibling tools spell this parameter differently; prefer `blueprint_path`.
blueprint_pathNoObject path, package path, or bare short name of the asset (resolved via mcp_common::ResolveAssetFlexible; an ambiguous short name errors out listing every candidate instead of picking one silently)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnlyHint/idempotentHint/destructiveHint, so safety is covered. The description adds genuinely new behavioral context: the check is static only and does not compile, plus a full return shape including a validation_status/validation_message pair. That goes beyond what the annotations provide.

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?

The purpose and the static-only caveat are front-loaded in the first two sentences with no wasted prose. The Returns block is a dense inline literal that is arguably verbose for a structure already implied by the analysis, but it is information-dense rather than padded.

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?

With no output schema, the description supplies the return fields the agent needs to interpret results, and annotations cover the safety profile. For a two-parameter, optional-input validator this is close to sufficient; only the sibling differentiation is missing.

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% and the description adds nothing about parameters. The alias/resolution behavior (blueprint_name as an alias, ambiguous-name erroring) lives entirely in the schema. Baseline 3 is appropriate when the schema does the heavy lifting.

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 (validate) and resource (blueprint asset) and pins the exact scope: 'structure, file size, and validity'. It explicitly distinguishes itself from compile_blueprint by declaring it is a static check that 'does NOT compile the Blueprint'. It does not, however, differentiate from close siblings like check_blueprint_errors, audit_blueprint_health, or lint_blueprint_graph.

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 gives useful context that this is a static asset-registry/on-disk check and not a compilation, which implies when to reach for it. But it never names or excludes the obvious alternative validators in the sibling set (check_blueprint_errors, audit_blueprint_health, lint_blueprint_graph), leaving the agent to infer which validator to pick.

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

Deploy Server

Other Tools