Skip to main content
Glama

Test a webhook tool

test_tool
Destructive

Send a real HTTP request to a tool's address with sample values, so you can check it actually works before relying on it in a call. Pass EITHER toolId (an already-saved tool from list_tools, tested with its real, unmasked headers) OR an inline definition (url, method and optionally headers/params/timeoutSecs, same shape as create_tool minus label/description - a not-yet-saved tool, tested exactly as typed) - never both. Capped at 10 attempts per minute per account across both forms (protects against using volai to flood someone else's server); over that this fails with rate_limited before the request is even attempted. A redirect response is never followed (note explains why); a 4xx/5xx status is not itself an error of this tool - status, durationMs, body (first 2000 characters) and note come back either way, so you can see exactly what the endpoint did. Same data as POST /v1/tools/test and POST /v1/tools/{id}/test (API reference: https://volai.cz/en/docs/api; response schema: https://volai.cz/openapi.json).

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "test_tool"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlNoAddress to call for an inline (not-yet-saved) test, must be https and must not point into an internal network. Required together with method when toolId is omitted.
methodNoHTTP method for an inline test: GET or POST. Required together with url when toolId is omitted.
paramsNoParameters for an inline test, at most 10, same shape as create_tool. Ignored when toolId is set.
toolIdNoID of an already-saved tool (tl_...) to test with its real, unmasked headers. Mutually exclusive with url/method/headers/params/timeoutSecs.
headersNoHeader name to value for an inline test, at most 5. Ignored when toolId is set (the saved tool's own headers are used).
timeoutSecsNoOnly validated (5 to 30), NOT applied to the test itself: a test always waits a fixed 10 seconds, so the caller doesn't sit through a full runtime timeout. It's the value the tool would use at runtime once saved - ignored here in both forms (inline and toolId).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior5/5

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

The annotations already declare destructiveHint=true and openWorldHint=true, and the description earns credit by explaining why: a genuine outbound HTTP request, redirects never followed, and 4xx/5xx from the target explicitly NOT treated as a tool error. It adds the rate-limit behavior, the rate_limited failure mode, the 2000-character body truncation, and the returned fields (status, durationMs, body, note) — meaningful context the annotations alone cannot convey.

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?

It is front-loaded with the core action and the either/or rule, and nearly every clause carries a distinct fact. It is delivered as one very long paragraph with dense parentheticals, which costs some scannability without wasting much text.

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?

For a six-parameter, nested-object, open-world testing tool with no output schema, the description covers the mode selection, the permissions/header semantics, the rate limit, the redirect policy, the error semantics, and the response shape. An agent has everything needed to call it correctly and interpret the result.

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 coverage is 100%, so the baseline is 3, but the description adds real meaning beyond the schema: toolId uses the saved tool's real, unmasked headers, an inline definition is tested exactly as typed, the two are mutually exclusive, and timeoutSecs is validated but never applied because a test always waits a fixed 10 seconds. That last clarification prevents a genuine misuse.

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 uses a specific verb and resource ('send a real HTTP request to a tool's address with sample values') and states the purpose (verify it works before relying on it in a call). It doesn't explicitly name a sibling such as send_test_webhook or test_call, so differentiation is left implicit, but the two-mode shape (saved tool vs inline definition) is clear enough to act on.

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

Usage Guidelines5/5

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

It gives explicit when-to-use ('before relying on it in a call'), a hard exclusivity rule ('Pass EITHER toolId ... OR an inline definition ... never both'), and the shape each mode requires. It also surfaces the operational precondition that over 10 attempts/minute it fails with rate_limited before the request is attempted.

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.