Skip to main content
Glama

cf_ping

Read-onlyIdempotent

Checks that DoboCache MCP is loaded and reports proxy port status so you can diagnose requests that are not being rewritten or appear unresponsive.

Instructions

连通性自检(最先调这个):返回 pong: dobocache ready 表示 MCP 服务已正常加载;同时探测代理端口并给出结构化结论——proxy: listening 表示改写链路在跑,refused 表示代理没起(此时请求不会被改写),listening_other 表示端口被别的程序占用,timeout 表示代理卡住。用户说「没反应 / 没效果 / 不生效」时先调它定位。

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

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.6.0

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already declare readOnly/idempotent/non-destructive, but the description goes well beyond them by decoding each return state: pong: dobocache ready, proxy: listening, refused (with the operational consequence that requests will not be rewritten), listening_other (port taken by another process), and timeout (proxy hung). With no output schema present, this return-value semantics is exactly the behavioral disclosure an agent needs.

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 primary fact (self-check, call first) and then groups the return states in a single readable enumeration. Density is justified by the diagnostic value of each state, though the parenthetical asides make it slightly heavy for a no-parameter tool.

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 zero-parameter diagnostic with no output schema, the description supplies the complete picture: when to invoke it, what each result string means, and what each implies about the rewrite pipeline. Nothing needed to interpret or act on the result is missing.

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, so there is nothing for the description to disambiguate. Baseline 4 applies; the description correctly makes no attempt to describe inputs.

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?

The description names a specific operation (connectivity self-check), states it should be invoked first, and enumerates the exact signals it verifies (MCP service load state plus proxy port). An agent can distinguish this diagnostic entry point from the sibling cf_* tools 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?

It gives an explicit trigger: call this first, and specifically when the user reports 'no reaction / no effect / not working'. The routing context is clear, but no sibling alternative is named for comparison, so it stops short of the full when/when-not/alternatives bar.

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