Skip to main content
Glama

compile_and_load_pawn

Compile a Pawn script and load it into the SA-MP server, restarting the server to apply changes.

Instructions

Compile a Pawn script and attempt to load it into the server. This will restart the server.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
scriptPathYesPath to the .pwn script file to compile and load
Install Server

TDQS

A3.9/5.0
Behavior4/5

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

With no annotations, the description carries the full burden of behavioral disclosure, and it does warn that the server will restart—a critical side effect. It also uses 'attempt to load', which hints that loading may fail, but it does not explain what happens on compile failure or whether restart occurs regardless.

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 short sentences with no filler; the core action is front-loaded and the restart warning is included without redundancy. Every sentence contributes actionable information.

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 one-parameter tool with high schema coverage, the description covers the essential action and the major side effect. It is less complete on failure semantics and the expected outcome of the load attempt, and it does not cross-reference the compile_pawn sibling, leaving some operational context missing.

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% and the single scriptPath parameter is already thoroughly described as the path to the .pwn file. The tool description adds no further parameter-level detail, so the baseline score of 3 is appropriate.

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 opens with a specific verb-resource pair, 'Compile a Pawn script and attempt to load it into the server', which clearly states what the tool does. The restart warning further separates it from the sibling compile_pawn, making the tool's intent unambiguous.

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 makes the tool's function clear and implies it should be used when compilation and live loading are both desired, which is enough to distinguish it from compile_pawn. However, it never explicitly names an alternative or states when not to use it, leaving the choice to inference.

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