Skip to main content
Glama

compile_pawn

Compile Pawn scripts for SA-MP servers using pawncc.exe, returning structured error and warning lists to simplify debugging.

Instructions

Compile a .pwn script using pawncc.exe. Returns structured error/warning list.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pathYesPath to the .pwn file to compile
Install Server

TDQS

B3.3/5.0
Behavior3/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It does add value by stating the return format (structured error/warning list), which is useful. However, it does not disclose potential side effects such as whether an .amx output file is produced, whether existing artifacts are overwritten, or whether external dependencies (like include paths) are required.

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?

Two sentences with zero filler: the first states the action and toolchain, the second states the return behavior. The key information is front-loaded and every word earns its place.

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?

For a simple one-parameter tool this is mostly adequate: it states the action, the compiler used, and the return value. However, with no output schema, no annotations, and an ambiguous sibling (compile_and_load_pawn), the description should have addressed side effects (e.g., generated .amx file) and the selection boundary between the two compile siblings. These gaps leave an agent to guess.

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 description coverage is 100%, so the single 'path' parameter is already documented as the path to the .pwn file. The description's mention of compiling a '.pwn script' somewhat reinforces the schema but adds no additional semantic detail about path format, expected extension handling, or constraints. Baseline 3 is appropriate when the schema handles the parameter documentation.

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 uses a specific verb ('Compile') with a clear resource ('.pwn script using pawncc.exe') and states the return type (structured error/warning list). It is clear and unambiguous about the operation, though it does not explicitly distinguish itself from the closely-related sibling compile_and_load_pawn.

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

Usage Guidelines2/5

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

No guidance is provided about when to use this tool versus compile_and_load_pawn, which is the obvious alternative. The description implies usage context ('compile a .pwn file') but never states exclusions, prerequisites, or selection conditions. An agent must infer the distinction between compiling-only and compile-and-load on its own.

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

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/KongGithubDev/SAMP-MCP'

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