Skip to main content
Glama
Pharaoh - Your AI breaks things it can't see

Pharaoh - Your AI breaks things it can't see

by Pharaoh-so

Account Status

pharaoh_account
Read-only

Check each workspace’s plan, tracked-repo count, repo mapping status, and setup or billing page links to resolve plan limits or unmapped repos without making changes.

Instructions

Your Pharaoh plan and mapped repos in each workspace. Changes nothing.

CALL THIS WHEN: • Checking which plan a workspace is on • A tool says the plan doesn't include it, or a repo isn't mapped • Finding the setup page or the billing page

RETURNS: Each workspace you can access with its plan and tracked-repo count, whether its repos are mapped on every push, the setup page, and the billing page when a workspace has a billing account.

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

Input Schema

NameRequiredDescriptionDefault
actionNoOnly status; pharaoh_manage_repo re-maps a repo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed6 schema fields changedv0.1.3
    • addedInput schema / properties / action / const
      Added value: +"status"
    • changedInput schema / properties / action / description
      Previous value: -"Which account action to perform"New value: +"Only status; pharaoh_manage_repo re-maps a repo"
    • removedInput schema / properties / action / enum
      Removed value: -[
      -  "status",
      -  "set_free_repo",
      -  "refresh_repo"
      -]
    • removedInput schema / properties / full
      Removed value: -{
      -  "description": "Used by: refresh_repo. Force a full rebuild, skipping the delta refresh.",
      -  "type": "boolean"
      -}
    • removedInput schema / properties / repo
      Removed value: -{
      -  "description": "Used by: set_free_repo (required), refresh_repo (required). Repo slug (owner/repo).",
      -  "type": "string"
      -}
    • removedInput schema / required
      Removed value: -[
      -  "action"
      -]
  2. Changed5 schema fields changedv0.1.1
    • addedInput schema / $schema
      Added value: +"http://json-schema.org/draft-07/schema#"
    • addedInput schema / properties / action
      Added value: +{
      +  "description": "Which account action to perform",
      +  "enum": [
      +    "status",
      +    "set_free_repo",
      +    "refresh_repo"
      +  ],
      +  "type": "string"
      +}
    • addedInput schema / properties / full
      Added value: +{
      +  "description": "Used by: refresh_repo. Force a full rebuild, skipping the delta refresh.",
      +  "type": "boolean"
      +}
    • addedInput schema / properties / repo
      Added value: +{
      +  "description": "Used by: set_free_repo (required), refresh_repo (required). Repo slug (owner/repo).",
      +  "type": "string"
      +}
    • addedInput schema / required
      Added value: +[
      +  "action"
      +]
  3. First observedv0.1.0

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, so 'Changes nothing' mostly restates them. The real added value is the RETURNS paragraph, which — since there is no output schema — tells the agent exactly what fields come back (per-workspace plan, tracked-repo count, push-mapping status, setup and billing URLs).

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-loaded one-line summary followed by clearly labelled WHEN and RETURNS sections with bullets — easy to scan. Minor waste in 'Changes nothing', which duplicates the readOnlyHint annotation, and the RETURNS sentence is a dense run-on bundling four separate return fields.

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 no-parameter, read-only status tool with no output schema, the description covers what the tool does, when to call it, and what it returns — everything an agent needs to call it correctly. Nothing material is left unstated.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

There is a single constant parameter ('action' = 'status') with 100% schema description coverage, so the schema already carries the meaning. The description adds no further detail about the parameter; baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The opening line names the resource (your Pharaoh plan and mapped repos per workspace) and the usage bullets supply the verb sense ('checking which plan a workspace is on'). It is clearly distinguishable from siblings like get_codebase_map or pharaoh_manage_repo, though the differentiation is implied by the recovery triggers rather than stated explicitly.

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?

A dedicated 'CALL THIS WHEN' block gives three concrete triggers, including a useful error-recovery trigger ('a tool says the plan doesn't include it, or a repo isn't mapped'). What is missing is an explicit hand-off: the description never says to use pharaoh_manage_repo to actually change a mapping — that routing only appears inside the schema.

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