phantom-api-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| check_codeA | Check Python code for calls to library APIs that don't exist (hallucinated functions, methods, modules, imports and standard library keyword arguments). Covers the Python standard library (checked against the running interpreter) and NumPy, pandas, Matplotlib, PyTorch, scikit-learn and SciPy (checked against their documentation inventories). Accepts plain Python or markdown with code blocks. Use it on code you wrote before presenting or running it. |
| lookup_apiA | Check whether a fully qualified Python name exists, e.g. 'pandas.DataFrame.to_markdown' or 'os.path.join'. Returns found/missing/not covered and close matches when missing. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 2 tools
Both tools address the same underlying question (does this Python API exist?), but the descriptions draw a clear line: check_code scans a whole snippet/markdown block, while lookup_api resolves a single fully-qualified name. An agent could still occasionally reach for lookup_api when check_code would be better, but the granularity difference is stated explicitly.
Both names follow a clean verb_noun snake_case pattern (check_code, lookup_api), with verbs that accurately describe the action. No mixed conventions or vague verbs.
The server has a deliberately narrow purpose (hallucinated-API detection), so two complementary tools—batch and single-name—are defensible rather than redundant. It sits slightly under the typical range, with no tool for repo/directory-level scanning, but nothing feels padded.
Coverage is limited to the stdlib plus six scientific/data libraries, leaving common ecosystems (requests, Flask/Django/FastAPI, SQLAlchemy, boto3, pytest) returning 'not covered', which will blunt usefulness on many real codebases. There is also no way to check multiple names in bulk or check a whole project directory, though the graceful 'not covered' response lets agents work around gaps.