Skip to main content
Glama

platform_validate_package

Validate local project folders or file maps to surface compiler and design diagnostics, returning normalized issues with suggested fixes for repair loops.

Instructions

[Arch Optimize] Arch validates packages, inspects compiler-visible models, and drives repair loops. Validate a local project folder/.zip or file map using platform-owned compiler and design diagnostics. Use in ABL repair/eval loops; returns normalized issues with suggested fixes.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
dataNoOptional import-preview fields such as files, layers, deleteUnmatched, or bindingResolutions.
pathNoLocal project folder or .zip path to validate
filesNoRelative path -> UTF-8 file content map
projectIdNoOptional project ID. When provided, the tool also calls import preview to return previewDigest and acknowledgement IDs needed for apply.

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observedv1.5.0

TDQS

A3.6/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full burden. It discloses that it returns 'normalized issues with suggested fixes', implying a read-only behavior, but the phrase 'drives repair loops' introduces ambiguity about whether it actually mutates state. It does not explicitly state that the tool doesn't modify the project, nor does it mention permissions or side effects. This is a notable gap.

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 of three sentences that front-loads the purpose ('Validate a local project folder/.zip or file map...'). It avoids redundancy and packs relevant information efficiently, though the opening '[Arch Optimize]' and 'drives repair loops' add slight verbosity without much new value.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With 4 optional params, nested objects, and no output schema, the description covers the input sources and return type ('normalized issues with suggested fixes') but omits prerequisites like a platform connection (sibling platform_connect) and the detailed structure of the returned issues. It is adequate for a simple validation tool but leaves some operational context to inference.

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

Parameters3/5

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

Schema coverage is 100%, so the baseline is 3. The description adds minimal parameter detail—it maps 'path' to 'local project folder/.zip' and 'files' to 'file map', but does not elaborate on 'data' or 'projectId' beyond what the schema already provides. It doesn't degrade or enhance the schema information.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a specific verb (validate) and a resource (local project folder/.zip or file map) that distinguishes it from sibling tools like debug_* and platform_arch_auto_loop. However, it also includes vague phrases like 'inspects compiler-visible models' that could overlap with platform_package_model, so it's clear but not fully crisp.

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 explicitly says 'Use in ABL repair/eval loops', giving a clear context for when to invoke it. It does not name alternatives or exclusions, but the context is concrete enough for an agent to decide. A 4 is appropriate for clear usage context without explicit 'when not to use' guidance.

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

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/Koredotcom/agents-mcp-tools'

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