Skip to main content
Glama

ping

Checks MCP server and MySQL database connectivity, returning whether the connection works and an error field to identify fixes for reachability issues.

Instructions

Check MCP server and MySQL connectivity. Returns whether the database connection works. Call this first whenever you are unsure whether the database is reachable — the error field tells you what to fix (missing env vars, wrong credentials, host unreachable).

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

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.5/5.0
Behavior4/5

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

No annotations are supplied, so the description carries the full load, and it does meaningful work: it discloses that the result is a connectivity verdict plus an error field, and that errors map to causes such as missing env vars, bad credentials, or an unreachable host. It omits whether the check is read-only, whether it can time out or block, and how quickly it returns.

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?

Three tight sentences, front-loaded with the verb and resource, then the return value, then the usage rule and remediation guidance. Every sentence earns its place with no filler.

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 and no parameters, the description is the only carrier of return semantics, and it covers them: a connectivity verdict plus an error field whose contents are diagnostic. For a simple health-check tool this is complete enough to call correctly.

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?

The tool takes zero parameters and the schema has none to document, so there is no parameter meaning to add. Baseline 4 applies for a parameterless tool.

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?

States a specific verb and resources ('Check MCP server and MySQL connectivity') and what it returns ('whether the database connection works'). An agent can distinguish this health-check from siblings like query_table, describe_table, or check_permissions without opening any schema.

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 triggering condition: 'Call this first whenever you are unsure whether the database is reachable.' It also points at the error field as the diagnostic output. It stops short of naming alternatives or stating when not to call it, which keeps it below a 5.

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