Skip to main content
Glama

validate_subagent

Validate subagent responses from graph traversal to ensure required fields like concept, key_relationships, recommendation, and discovered_ids have correct types through structural validation.

Instructions

VALIDATE — Schema validation for subagent responses from scatter-gather graph traversal. Checks that a subagent response contains the required fields (concept, key_relationships, recommendation, discovered_ids) with correct types. Returns validation result with errors and warnings. No LLM calls — pure structural validation.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
responseYesThe JSON object returned by a graph-analysis subagent
Behavior4/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It effectively describes what the tool does (structural validation of specific fields), what it returns (validation result with errors and warnings), and important behavioral constraints ('No LLM calls — pure structural validation'). However, it doesn't mention error handling, performance characteristics, or other operational details.

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?

The description is efficiently structured in three sentences that each earn their place: first states the tool's purpose and scope, second specifies what it checks, third describes the return value and important constraint. No wasted words, front-loaded with essential information.

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?

Given the tool's moderate complexity (validation with specific field requirements), no annotations, and no output schema, the description provides good coverage of what the tool does, what it validates, and its behavioral constraints. However, without an output schema, it could more explicitly describe the structure of the validation result it returns.

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 the single 'response' parameter. The description adds context that this is 'The JSON object returned by a graph-analysis subagent' and mentions the specific fields being validated, but doesn't provide additional syntax or format details beyond what the schema provides. Baseline 3 is appropriate when schema does the heavy lifting.

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 purpose with specific verbs ('validate', 'checks', 'returns') and identifies the resource ('subagent responses from scatter-gather graph traversal'). It distinguishes from siblings by specifying it validates subagent responses rather than performing other operations like asking, consulting, or generating.

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 description implies usage context ('for subagent responses from scatter-gather graph traversal') but doesn't explicitly state when to use this tool versus alternatives. It mentions 'No LLM calls — pure structural validation' which provides some guidance on its scope, but doesn't name specific sibling tools or provide explicit when/when-not instructions.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/marcus-waldman/Iconsult_mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server