Skip to main content
Glama
Infrastructure MCP Server

Infrastructure MCP Server

by berkeleyo

diagnose_http

Read-onlyIdempotent

Run bounded, body-free HTTP diagnostics against allowlisted destinations to verify reachability and response status without downloading response bodies.

Instructions

Make a bounded body-free HTTP diagnostic to an allowlisted destination.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "destination": "<destination>"
    },
    "name": "diagnose_http"
  }
}

Input Schema

NameRequiredDescriptionDefault
methodNoHEAD
destinationYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.3/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive and open-world, so the safety profile is covered. The description still adds real value beyond them: 'bounded' signals timeouts/limits, 'body-free' tells the agent no response body is returned, and 'allowlisted destination' discloses a constraint on what targets are permitted. It does not quantify the bound or describe failure behavior, which keeps it from a 5.

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?

A single dense sentence with the operative constraint front-loaded and no filler. Every qualifier ('bounded', 'body-free', 'allowlisted') carries distinct information.

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

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

An output schema exists, so return values need not be explained, and the tool is simple with two parameters. However, with zero schema coverage the description leaves the 'method' parameter entirely unexplained and does not say what 'bounded' means in practice (timeout or size limit), which an agent would need before invoking reliably.

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

Parameters2/5

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

Schema description coverage is 0% for two parameters, so the description carries the full burden. It clarifies that 'destination' must be allowlisted, which the schema does not state, but it says nothing about 'method' — not even that it defaults to HEAD or which methods are valid.

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?

Names a specific verb and resource ('HTTP diagnostic') and qualifies the scope precisely with 'bounded', 'body-free', and 'allowlisted destination', which distinguishes it from the DNS/TLS diagnostic siblings by protocol. It stops short of 5 only because it never explicitly contrasts itself with those siblings.

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

Usage Guidelines2/5

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

There is no when-to-use or when-not-to-use guidance and no named alternative among the sibling diagnostics. The 'allowlisted destination' phrase implies a precondition but does not tell the agent how to decide between this tool and diagnose_dns or diagnose_tls.

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