Skip to main content
Glama

set_server_root

Sets the SA-MP server root directory for the MCP server, auto-detecting config and tracking the project.

Instructions

Point the MCP server to a SAMP project directory. Automatically detects config and tracks the project.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
hostNoOverride server IP (defaults to bind in server.cfg or 127.0.0.1)
pathYesAbsolute path to the SAMP server root directory
Install Server

TDQS

B3.4/5.0
Behavior3/5

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

With no annotations provided, the description carries full behavioral disclosure burden. It mentions config detection and project tracking, which adds some context, but does not explain side effects, persistence, prerequisites, or what 'tracks' means in practice.

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 a single, focused sentence that front-loads the main purpose and adds the config-detection detail economically. There is no filler or redundancy.

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

Completeness2/5

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

The tool is important for establishing project context, but the description omits useful contextual details such as whether the path must already exist, how host override relates to config detection, and what observable result confirms the root was set. It is minimally sufficient but leaves meaningful gaps.

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 schema already documents both path and host clearly. The description adds no additional meaning for either parameter, keeping it at the baseline 3.

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 points the MCP server to a SAMP project directory and mentions automatic config detection. It names a specific verb and resource, but does not explicitly differentiate it from sibling tools like setup_ai_environment or manage_server.

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 intended use is implied: the tool is for setting/selecting the project root before other project operations. However, it provides no explicit when-to-use guidance, no exclusions, and does not name alternative tools that might be more appropriate in certain situations.

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