Skip to main content
Glama
Pharaoh-so

Pharaoh - Your AI breaks things it can't see

map_open_source_repo

Add public GitHub repositories to Pharaoh's knowledge graph for architectural analysis and querying. Enables AI to understand codebase structure before making changes.

Instructions

Map a public GitHub repository into Pharaoh so you can query its architecture. The repo will be available to all Pharaoh users.

CALL THIS WHEN:

  • The user wants to analyze or query an open-source repo that isn't in Pharaoh yet

  • get_codebase_map doesn't show a well-known public repo the user is asking about

  • The user says "map this repo", "add this project", or provides a GitHub URL for a public repo

After mapping completes (usually 1-3 minutes), use get_codebase_map to see the repo.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior4/5

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

Annotations indicate non-readonly, non-destructive operation. Description adds valuable context: operation takes 1-3 minutes, repo becomes available to all Pharaoh users (shared visibility), and constraint that only public repos are supported. No contradictions with annotations.

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?

Clear two-section structure with purpose statement front-loaded. 'CALL THIS WHEN' bullets are scannable. No redundant text—every sentence provides concrete guidance on scope, timing, or sibling differentiation.

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?

Comprehensive for a zero-parameter trigger tool: covers prerequisites (public repo, not already mapped), side effects (global visibility), timing expectations, and follow-up actions (use get_codebase_map). Minor gap: does not mention error handling for private repos or rate limiting.

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 with 100% description coverage. Baseline score of 4 applies per rubric. Description implies GitHub URL is required but does not explicitly document parameter mechanics, which could confuse agents about how the repo identifier is passed.

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?

Description uses specific verb 'Map' with clear resource 'public GitHub repository' and scope 'into Pharaoh.' Explicitly distinguishes from sibling get_codebase_map by stating this is for repos 'that isn't in Pharaoh yet' and directing users to get_codebase_map after mapping completes.

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 explicit 'CALL THIS WHEN:' section with three specific trigger conditions, including clear alternation logic with get_codebase_map ('doesn't show a well-known public repo'). Directly maps user phrases like 'map this repo' to tool invocation.

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