Skip to main content
Glama

ping

Read-onlyIdempotent

Tests the MCP connection and returns metadata for background job commands, serviceTier options, and CODEX_DEFAULT_SERVICE_TIER.

Instructions

Test the MCP connection. Response metadata lists background job commands, serviceTier options and CODEX_DEFAULT_SERVICE_TIER.

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": "ping"
  }
}

Input Schema

NameRequiredDescriptionDefault
messageNoMessage to echo back

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so the safety profile is fully covered by structured data. The description does add value by disclosing that response metadata carries background job commands, serviceTier options, and CODEX_DEFAULT_SERVICE_TIER — useful because no output schema exists. However, it says nothing about the echo behavior or error/latency characteristics of the connection test, so this is a modest addition rather than rich behavioral context.

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 short sentences with zero filler: the purpose is front-loaded and the second sentence carries a distinct, non-redundant payload about response metadata. Nothing is repeated from the title or annotations.

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 one-optional-parameter connectivity tool with full annotation coverage, the description supplies what structured fields cannot: what the response metadata exposes. The only remaining gap is that it does not state the return shape of the echo itself, which is minor given how simple the tool is.

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 the single 'message' parameter is already documented as 'Message to echo back.' The description adds no meaning beyond that and never references the parameter, so the baseline of 3 for high-coverage schemas applies.

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 opens with a specific verb and object: 'Test the MCP connection.' That is far more informative than the tool name 'ping' alone and clearly separates it from siblings such as help, listModels, or job_status. It stops short of naming a sibling, so it is a clear 4 rather than 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 Guidelines3/5

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

Usage is only implied: an agent can infer this is a connectivity/health check to run when verifying the server is reachable. There is no explicit when-to-use statement, no mention of when not to use it, and no pointer to an alternative for discovering the same information.

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