Skip to main content
Glama

asset_doctor

Checks native dependencies, free-tier routes, and provider keys for prompt-to-asset MCP server. Optionally validates data integrity or auto-installs missing binaries (Homebrew, cargo, scoop).

Instructions

Structured environment inventory — MCP equivalent of p2a doctor. Returns native-dependency status (sharp, vtracer, potrace, png-to-ico, satori, resvg-js, tesseract.js, svgo), free-tier routes ranked best-first, paid-provider keys, paste-only providers, pipeline extension URLs, which modes are available right now, and a concrete 'what to try next' suggestion list. Read-only by default. Pass check_data=true to also run the model-registry/routing-table integrity check. Pass auto_fix=true to install missing native binaries (Homebrew / cargo / scoop — never sudo); pair with auto_fix_dry_run=true to preview without executing.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
check_dataNoAlso run data-integrity check (equivalent to `p2a doctor --data`). Useful in CI after data edits.
auto_fixNoRun the auto-installer for missing native binaries (vtracer, potrace). Homebrew on macOS, cargo as fallback, scoop on Windows. Linux distro installs and npm optional deps are surfaced as manual hints instead of executed. Response gains an `auto_fix` field.
auto_fix_dry_runNoOnly meaningful when auto_fix=true. Plan steps without executing. Defaults to false.
Behavior5/5

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

Beyond the `openWorldHint` annotation, the description discloses that the tool is read-only by default, and details the side effects of enabling `auto_fix` (installing binaries, never sudo). It is fully transparent about the tool's behavioral traits.

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 a single paragraph that front-loads the purpose and output list, then covers parameters. It is somewhat verbose but well-structured and every sentence adds value.

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?

Given no output schema, the description fully explains what the tool returns (a list of statuses, routes, keys, hints, etc.) and how to use its parameters. It is complete for an environment inventory tool with three optional parameters.

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

Parameters5/5

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

Schema coverage is 100% (all three parameters have descriptions). The description adds significant value by explaining the purpose and context of each parameter beyond the schema, e.g., that `check_data` runs an integrity check and `auto_fix` uses specific package managers.

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 clearly identifies the tool as a 'structured environment inventory' MCP equivalent of `p2a doctor`, and lists specific outputs (native-dependency status, routes, keys, etc.). It distinguishes itself from sibling tools that focus on asset generation or model inspection.

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 description explains when to use each parameter (e.g., check_data for CI after data edits, auto_fix to install missing binaries, auto_fix_dry_run for preview). It does not explicitly contrast with sibling tools or provide 'when not to use' guidance, but the context is clear.

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/MohamedAbdallah-14/prompt-to-asset'

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