Skip to main content
Glama

validate_gam_command

Validate the structure of any GAM command to catch syntax errors and bulk command rule violations before execution, returning clear valid or error status.

Instructions

Validates the structure of a proposed GAM command before execution. Checks executable availability, known top-level verbs, and bulk command structural rules. Does NOT execute the command. Returns 'VALID' or a descriptive error/warning message.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
argsYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior3/5

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

No annotations are provided, but the description discloses that the tool does not execute the command, only validates structure, and returns 'VALID' or error messages. It does not mention any required permissions, network access, or prerequisites like GAM installation, which would be helpful for an agent.

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?

The description is three sentences long, front-loaded with the primary purpose, and every sentence adds valuable information. No redundant or verbose phrasing.

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?

The tool has an output schema, so return values are handled. The description covers what the tool checks and that it returns validation results. Given the simplicity of the tool (one parameter, no annotations), it is fairly complete, though it could add more context on the expected input format.

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

Parameters2/5

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

The only parameter 'args' is an array of strings with 0% schema description coverage. The description vaguely implies it represents a GAM command but does not explain the expected format (e.g., should it include the word 'gam'? Is it space-separated tokens?). This lack of detail hinders correct invocation.

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 states that the tool validates the structure of a proposed GAM command before execution, and explicitly distinguishes itself from the sibling tool 'run_gam_command' by stating 'Does NOT execute the command'. It also lists specific checks (executable availability, known top-level verbs, bulk command structural rules).

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description implies usage before executing a command, but does not explicitly state when to use this tool versus alternatives such as 'build_bulk_gam_command' or 'run_gam_command'. No when-not or exclusion criteria are provided.

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/ktibbs9417/gamcp'

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