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

Update Pharaoh

pharaoh_update
DestructiveIdempotent

Updates the Pharaoh npx proxy to the newest release with your consent, verifies npm registry signatures and build provenance, then stages it to activate at the next session start.

Instructions

Update the npx proxy to the newest Pharaoh release, with the user's consent.

CALL THIS WHEN: • The user asks to update Pharaoh, or accepts a notice that a new Pharaoh version is available

RETURNS: On the npx proxy, whether the newest release passed verification (npm's registry signature and its build provenance) and is staged; it becomes active at the next session start. On a hosted connection, that it is already current.

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_update"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.1.6

TDQS

A4.4/5.0
Behavior4/5

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

The description contributes substantial context beyond the annotations: the consent requirement, that npm registry signature and build provenance verification happens before staging, that the new release only activates at the next session start, and that hosted connections are already current. One gap remains — the annotation declares destructiveHint=true, but the description never explains what would be replaced or what happens on a failed/partial update, so the risk profile is only implied.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three labeled sections — action, triggers, returns — with the verb front-loaded and no filler. Every sentence carries information an agent would otherwise have to guess (consent, verification, staging, hosted-channel behavior).

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?

With no input parameters and no output schema, the description takes responsibility for the return semantics and does so, describing both the npx-proxy and hosted-connection outcomes. The only shortfall is the unexplained destructive aspect of the mutation flagged in annotations, which matters for an update tool.

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 no parameter meaning to convey and the schema is already complete. The description correctly spends no words on arguments and instead handles the outcome semantics.

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 opens with a specific verb and resource ('Update the npx proxy to the newest Pharaoh release') and scopes it to the npx proxy channel, which is distinguishable from siblings like pharaoh_setup or pharaoh_account. An agent can tell immediately what this does and what it does not cover (the hosted connection case is explicitly called out as already current).

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?

The 'CALL THIS WHEN' block gives two concrete triggers: the user asks to update, or the user accepts a new-version notice. The 'with the user's consent' clause acts as a gating prerequisite. It stops short of naming an alternative tool for anything adjacent, but the conditions are clear enough that an agent knows when to fire it.

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