Skip to main content
Glama

Find failure precedents for a design

analyze_design
Read-onlyIdempotent

Profile a proposed feature, system or AI-agent workflow and return documented incidents from systems that behaved similarly, their failure patterns, and the safeguards to build in. Use before writing code for anything that moves money, deletes data, changes permissions, runs code, or acts on external content.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
proposalYesTwo to five sentences: what the system does, what it can change, what data it reads, which services it calls.
max_resultsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false, idempotentHint=true, and openWorldHint=false, so the safety profile is covered. Since there is no output schema, the description's enumeration of what comes back (incidents, failure patterns, safeguards) is genuinely additive behavioral information, though it gives no detail on result format or behavior when nothing matches.

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?

Two sentences, zero filler, and the purpose is front-loaded before the usage triggers. Every clause earns its place.

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 read-only, two-parameter analysis tool with no output schema, the description covers purpose, inputs, triggers, and the shape of the return value. It leaves minor gaps around result format and empty-result behavior, but nothing essential to invoking it correctly 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 coverage is 50%: the required 'proposal' parameter is well documented in the schema (2-5 sentences covering what the system does, changes, reads, and calls), while 'max_results' is only bounded by min/max/default with no prose. The description's 'proposed feature, system or AI-agent workflow' loosely echoes the proposal scope but adds no syntax or format guidance beyond the schema.

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 names a specific action (profile a proposed feature/system/workflow) and a specific deliverable (documented incidents from similar systems, their failure patterns, and safeguards). The word 'proposed' implicitly contrasts with the sibling analyze_existing_app, but no sibling is named explicitly, so it stops short of a 5.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

'Use before writing code for anything that moves money, deletes data, changes permissions, runs code, or acts on external content' gives concrete, actionable trigger conditions for when to reach for this tool. It does not, however, state when NOT to use it or point to alternatives such as analyze_existing_app for already-built systems.

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