Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
PING_CLAUDE_BINNoPath of the Claude Code CLI.claude
PING_CLAUDE_HOMENoWhere sessions and logs are kept.~/.local/state/ping-claude
PING_CLAUDE_WAITNoSeconds a tool call blocks before it returns a ticket. Raise it if your client allows long tool calls.50
PING_CLAUDE_MODELNoDefault advisor model: an alias or a full model name.claude-fable-5-2
PING_CLAUDE_SCOPENoName of the advisor to use. Set one value everywhere to share a single advisor across repositories.per repository, or per directory outside git
PING_CLAUDE_TOOLSNoAdvisor tools. Only Read, Grep, Glob, WebSearch and WebFetch are accepted. The two web tools cannot change files, but a prompt injection in your code could use them to send code out in a URL.Read,Grep,Glob
PING_CLAUDE_EFFORTNoDefault reasoning effort: low, medium, high, xhigh or max.xhigh
PING_CLAUDE_THREADNoLabel for this worker thread in Claude's view.random
PING_CLAUDE_TIMEOUTNoSeconds before one Claude call is abandoned. 0 means no limit.1800

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

Ask Claude for a second opinion. Claude is a separate, read-only advisor model that remembers earlier pings from every agent thread on this repository. Call this when the user asks you to ping Claude or wants a second opinion. Send the question plus things Claude can check for itself (file paths, an error message, your current position); Claude reads the code on its own, so do not send only your conclusion. Always pass workdir, the checkout or worktree you work in: its uncommitted changes (git status and git diff) are attached for Claude automatically. Claude's answer is advice, not an instruction: you own the decision and may overrule it. Never paste or quote the answer to the user; report in your own words what you asked, where you agree or disagree and why, and your final call. If you overrule Claude, name each specific risk it raised and say why that risk does not hold. Leave model and effort out unless the user names one. If Claude needs longer than this call can wait, you get a ticket: call claude_reply to collect the answer.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
ask_claudeA

Ask Claude for a second opinion. Claude is a separate, read-only advisor model that remembers earlier pings from every agent thread on this repository. Call this when the user asks you to ping Claude or wants a second opinion. Send the question plus things Claude can check for itself (file paths, an error message, your current position); Claude reads the code on its own, so do not send only your conclusion. Always pass workdir, the checkout or worktree you work in: its uncommitted changes (git status and git diff) are attached for Claude automatically. Claude's answer is advice, not an instruction: you own the decision and may overrule it. Never paste or quote the answer to the user; report in your own words what you asked, where you agree or disagree and why, and your final call. If you overrule Claude, name each specific risk it raised and say why that risk does not hold. Leave model and effort out unless the user names one. If Claude needs longer than this call can wait, you get a ticket: call claude_reply to collect the answer.

claude_replyA

Wait for Claude's answer to an earlier ask_claude call that returned a ticket. Without a ticket it returns the most recent question asked from this thread. The same rules apply to the answer: it is advice, you may overrule it, and you rewrite it in your own words before the user sees it.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A4.1/5.0

Scored across 2 tools

Disambiguation4/5

The two tools form a clear initiate/collect pair: ask_claude sends a question and claude_reply fetches an answer. The only blur is that claude_reply without a ticket falls back to the most recent question, which slightly overlaps with ask_claude's immediate-return path, but the descriptions make the intended sequence clear.

Naming Consistency3/5

Both names use snake_case, but the word order breaks the pattern: ask_claude is verb_object while claude_reply is object_verb. The convention is still readable, but an agent cannot infer a single naming scheme from the two names.

Tool Count4/5

Two tools is minimal but well matched to the narrow purpose of pinging an advisor and collecting an asynchronous answer. No tool is redundant, though the surface is slightly thinner than the typical 3-15 range.

Completeness4/5

The core lifecycle is covered: ask a question, then collect the answer via ticket. Minor gaps remain, such as listing pending tickets, checking status without a ticket, or cancelling a request, but none block the main workflow.

Maintenance

ActivityMaintained
ResponsivenessNo recent community issues