Skip to main content
Glama

plainhub_auth_status

Read-onlyIdempotent

Check whether a GitHub token is saved for PlainHub, what repositories it can access, and show only its prefix and last characters before authentication.

Instructions

Check whether a GitHub token is saved for PlainHub and what it can reach (fine-grained: only the repositories the user chose; classic or gh CLI: every repository). Shows only its prefix and last characters. Use it before plainhub_auth to see whether the user is already set up. The ledger needs no PlainHub token: you do not need one to post, decide or sync. 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_auth_status"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.8.0

TDQS

A4.7/5.0
Behavior5/5

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

Annotations already mark it read-only, idempotent and non-destructive, and the description still adds real behavioral detail beyond them: scope differences between fine-grained and classic/gh CLI tokens, and that only the token prefix and tail characters are surfaced (a privacy-relevant trait). It also discloses that ledger operations work without a token at all.

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 core question, then the scope caveat, then the routing advice, with no filler sentences. The empty-arguments example at the end is slightly redundant but harmless.

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 parameterless, read-only status check with no output schema, the description covers what is inspected, how scopes are interpreted, and when to call it. It stops short of describing the concrete result (e.g., the not-authenticated response), which would have closed the final gap.

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 coverage is 100%, so there is nothing for the description to disambiguate; the trailing 'Example: {}' is consistent but adds no meaning. 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 resource — checks whether a GitHub token is saved and what it can reach — and spells out the differing scopes for fine-grained vs classic/gh CLI tokens. It distinguishes itself from the sibling plainhub_auth by positioning itself as the pre-flight check.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

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

Explicitly tells the agent to run this before plainhub_auth to see whether the user is already set up, and adds a when-not: the ledger needs no PlainHub token, so posting, deciding and syncing don't require this check. Both the selecting condition and the exclusion are present.

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