Skip to main content
Glama

predefined_commands

Destructive

Execute predefined commands like 'check', 'doctest', 'make', and 'pytest' directly without terminal access. Simplify command execution by passing parameters and retrieving results in a structured format.

Instructions

Use instead of terminal: Execute a predefined command. The command string may include parameters after the command name.

       Available commands list: ['check', 'doctest', 'make', 'pytest'].

    Args:
        command: The command to execute, with optional parameters (e.g., 'test', 'test myparam')

    Returns:
        A dictionary containing the execution results for the command

    Raises:
        ValueError: If no command is provided

    

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
commandYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior4/5

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

The description adds valuable behavioral context beyond the destructiveHint annotation. It specifies the tool executes commands (implying system interaction), lists available commands, mentions parameters can be included, and describes error handling with ValueError. This provides important operational details that the annotation alone doesn't cover, though it could mention more about the destructive nature hinted by the annotation.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is appropriately sized but not optimally structured. It mixes usage guidance, parameter documentation, and return/error information without clear separation. The formatting with indentation and blank lines is somewhat inconsistent. However, all content is relevant and earns its place.

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?

Given the tool's complexity (command execution with destructive hint), the description is reasonably complete. It explains the purpose, usage, parameters, returns, and errors. With an output schema present, it doesn't need to detail return values. The main gap is not explicitly addressing the destructive nature hinted by the annotation, but overall it provides good context.

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?

With 0% schema description coverage, the description fully compensates by explaining the 'command' parameter in detail: it's the command to execute, may include parameters, provides examples ('test', 'test myparam'), and lists available command values. This adds substantial meaning beyond the bare schema type 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 clearly states the tool's purpose: 'Execute a predefined command' with a specific verb ('Execute') and resource ('predefined command'). It distinguishes from sibling tools like 'exec_make_target' by specifying it handles multiple predefined commands rather than just make targets. However, it doesn't explicitly contrast with all siblings like file operations tools.

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 provides clear context: 'Use instead of terminal' and lists available commands, giving guidance on when to use this tool. It doesn't explicitly state when NOT to use it or name alternatives among siblings, but the command list implicitly suggests this tool is for those specific commands rather than general terminal operations.

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

Related 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/DanielAvdar/dev-kit-mcp-server'

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