Skip to main content
Glama

verify_mcp_protocol

Read-only

Validate JSON-RPC 2.0 protocol compatibility and version negotiation with a remote MCP server. Test modern and legacy handshakes, benchmark latency, and inspect declared capabilities.

Instructions

Validates JSON-RPC 2.0 protocol compatibility and version negotiation with a remote MCP server without executing a full synthetic vulnerability scan. Use this tool when you specifically need to test whether a remote server supports modern Stateless Core ("2026-07-28"), structured outputs ("2025-06-18"), icons metadata ("2025-11-25"), or legacy handshakes ("2024-11-05"), benchmark handshake latency, or inspect declared server capabilities and tool counts.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
authHeaderNoOptional HTTP Authorization header value if the remote server requires authentication.
endpointUrlYesThe target remote MCP server endpoint URL to test (Streamable HTTP POST or SSE stream).

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
contentYesSummary of the protocol handshake result.
isErrorYesTrue if the remote server failed to complete the MCP initialization handshake.
latencyMsNoRound-trip handshake latency in milliseconds.
protocolVersionNoThe exact protocol version negotiated with the server (e.g. "2026-07-28", "2025-11-25", "2025-06-18", or "2024-11-05").

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. Addedv0.1.2

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already provide readOnlyHint=true and openWorldHint=true, and the description adds meaningful behavioral context: version negotiation targets, handshake latency benchmarking, capability/tool count inspection, and no vulnerability scanning. This goes beyond the annotations without contradicting them.

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 with no filler. The core action is front-loaded, and every clause adds useful context: supported protocol versions, latency benchmarking, capability inspection, and the exclusion of vulnerability scanning.

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?

The description covers purpose, use cases, and exclusions, while the schema documents both parameters and an output schema exists. It could be slightly stronger by explicitly directing users to audit_mcp_server for full vulnerability scans, but nothing critical is missing for a read-only protocol check.

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%, and both endpointUrl and authHeader have clear descriptions and examples. The description itself does not add parameter-level meaning beyond the schema, so the baseline of 3 is appropriate.

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?

Description opens with a specific verb and resource: 'Validates JSON-RPC 2.0 protocol compatibility and version negotiation with a remote MCP server'. It also distinguishes itself from the sibling audit_mcp_server by explicitly stating it is 'without executing a full synthetic vulnerability scan'.

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?

Gives an explicit use-this-when list: 'Use this tool when you specifically need to test whether a remote server supports...' and covers several concrete scenarios. It also states what the tool is not ('without executing a full synthetic vulnerability scan'), but it does not explicitly name the alternative tool, audit_mcp_server, so the guidance is clear but not fully complete.

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

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/pasihaka/mcp-sentinel'

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