Skip to main content
Glama

plainhub_agent_check

Read-onlyIdempotent

Verifies your PC is ready to run a PlainHub agent by checking Node.js, Claude Code, the plainhub command, free ports, paired browsers, and GitHub token setup, with fix hints for each issue.

Instructions

Check this PC before the person starts "Your agent" (plainhub agent): Node.js, Claude Code and its version, the plainhub command, free ports and an agent already running, paired browsers, and whether a GitHub token for the phone is saved. It changes nothing: it starts nothing except claude --version, never reads a token's value, and does not start the agent. Each problem comes with one line on how to fix it; when all is ready, the last line is the command the person runs in their own terminal. Use it first when the user wants to set up Your agent or ask Claude Code from their phone, and again after fixing something. Example: {}

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

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.8.0

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already mark it read-only, non-destructive, idempotent, but the description adds concrete side-effect boundaries: it starts nothing except claude --version, never reads a token's value, and does not start the agent. It also describes diagnostic output: one fix line per problem and, when ready, the command the person runs.

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?

Front-loads the purpose, then behavioral boundaries, then usage, in three dense sentences plus an empty-input example. It is information-rich with little waste, though the long first sentence could be easier to scan.

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 read-only diagnostic with no output schema, it explains scope, side effects, and output shape: fix lines for problems and a final ready command. It also tells when to rerun, so an agent has enough context to invoke it 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?

There are zero parameters, so the baseline is 4. The example '{}' reinforces that no input is required, but there is no parameter meaning to add.

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 (check) and resource (this PC's setup for Your agent), then enumerates the exact checks: Node.js, Claude Code version, plainhub command, free ports/running agent, paired browsers, and saved GitHub token presence. That specificity lets an agent distinguish it from auth, browse, ledger, and other sibling tools.

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?

Explicitly says to use it first when the user wants to set up Your agent or ask Claude Code from their phone, and again after fixing something. It does not name alternatives or when-not-to-use exclusions, so it stops short of a 5.

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