Skip to main content
Glama

AI SENSE Free Public Tools

Simulate a failure

simulate_failure
Read-only

Get a chosen failure on purpose, to test how an agent or client handles it: an HTTP status from 200 to 504, an HTML error page (html), an empty body (empty) or JSON labelled as text (wrongtype), after an optional delay of up to 10 seconds. The result reports the status, content type, headers and body the REST endpoint sent, and is an error result for statuses of 400 and above. No API key, no account and no sign up: call it directly.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
outcomeYes
delay_msNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so the description need not re-establish safety. It still adds real context: no API key/account/signup required, an optional delay up to 10 seconds, and the important rule that statuses 400+ are surfaced as an error result. It does not address the idempotentHint=false annotation, leaving that behavioral nuance unexplained.

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?

A single dense sentence that front-loads purpose before the outcome list and the return-shape details. It runs slightly long with the auth disclaimer tacked on the end, but every clause carries information.

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

Completeness5/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 compensates by describing what comes back (status, content type, headers, body) and how error statuses are reported. For a two-parameter test tool with annotations covering the safety profile, nothing an agent needs to invoke it correctly is missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description carries the full burden, and it mostly does: it explains the status range (200–504) and the meaning of the non-numeric enum values (html = HTML error page, empty = empty body, wrongtype = JSON mislabelled as text), plus the delay bound. Only the individual status codes (401 vs 429 vs 503) are left to the schema enum, which is reasonable.

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 names a specific action (deliberately return a chosen failure outcome) and its intent (test how an agent or client handles errors), which no sibling tool does. An agent can tell this apart from the rest of the utility catalogue at a glance.

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?

It states the testing context clearly ('to test how an agent or client handles it') and enumerates the selectable outcomes, so the agent knows when this is the right call. It stops short of explicit when-not guidance or naming alternatives, which is a minor gap given there are no real alternatives here.

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.