Skip to main content
Glama
Pharaoh-so

Pharaoh - Your AI breaks things it can't see

get_vision_gaps

Read-only

Identify unimplemented features from specifications and complex undocumented code to prioritize development and documentation tasks.

Instructions

Find what's missing — specs without code AND complex code without specs. Call this to prioritize what to build or document next.

CALL THIS WHEN: • You're planning work and need to find unimplemented features from PRDs • You want to find complex undocumented functions that need specs or tests • You need to audit spec-to-code alignment for a module • Someone asks "what's left to build?" or "what's undocumented?"

RETURNS: Two lists — (1) specified-but-not-built: PRD specs with no implementing functions, and (2) built-but-not-specified: complex functions above a threshold with no vision spec. Includes function names, complexity scores, file paths, and spec references.

EXAMPLES: • "What features from the PRDs haven't been built yet?" • "Which complex functions lack documentation?" • "What's the spec coverage for the auth module?" • "Are there any orphaned specs or undocumented behaviors?"

WHY NOT JUST READ FILES: Manually diffing PRD bullets against code is error-prone and misses complexity metrics. This cross-references the entire spec tree against the function graph automatically — gaps that would take an hour to find manually surface in seconds.

TIER: Pharaoh Pro — free tier receives a preview. Summarize what the preview reveals, explain what full data would show for this task, then include the upgrade link.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior4/5

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

While annotations declare readOnlyHint=true/destructiveHint=false, the description adds significant operational context: it discloses the cross-referencing algorithm ('cross-references the entire spec tree against the function graph'), performance characteristics ('gaps that would take an hour to find manually surface in seconds'), and business-tier constraints ('Pharaoh Pro — free tier receives a preview'). It does not disclose specific complexity thresholds or rate limits, preventing a 5.

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?

The description is well-structured with clear visual headers (CALL THIS WHEN, RETURNS, EXAMPLES) that facilitate parsing. It is front-loaded with the core purpose. While lengthy, the EXAMPLES section (4 queries) and tier warning earn their place by clarifying intended use cases and business constraints. Minor redundancy exists between the bullet points and examples, preventing a perfect 5.

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?

Despite lacking an output schema, the description thoroughly documents return values: 'Two lists' with specific fields (function names, complexity scores, file paths, spec references). It also explains the tier-based limitation (preview vs. full data) which affects the output. For a complex analysis tool with zero parameters, this provides sufficient completeness, though specific complexity thresholds could have been mentioned.

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?

Input schema contains zero parameters. Per calibration rules, 0 params yields a baseline score of 4. The description appropriately requires no parameter clarification since the tool operates as a global analysis requiring no filters.

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 dual-purpose statement: 'Find what's missing — specs without code AND complex code without specs.' This clearly defines the tool's unique value proposition (bidirectional gap analysis) and distinguishes it from siblings like get_vision_docs (which likely just retrieves documents) or get_codebase_map (structural overview). The scope is precisely bounded to spec-to-code alignment.

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?

Contains an explicit 'CALL THIS WHEN' section with four specific scenarios (planning work, finding undocumented functions, auditing alignment, answering 'what's left'). Critically, it includes 'WHY NOT JUST READ FILES' which explicitly contrasts the tool against the manual alternative, demonstrating when NOT to use manual file reading. This provides clear contextual guardrails for tool selection.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Pharaoh-so/pharaoh'

If you have feedback or need assistance with the MCP directory API, please join our Discord server