Skip to main content
Glama

Generate fxmanifest.lua

generate_fxmanifest
Read-onlyIdempotent

Generates a valid fxmanifest.lua (fx_version 'cerulean', game 'gta5') for client/server/shared Lua or JS scripts, NUI pages, maps, vehicle data files and dependencies, then validates it with the RPScripts manifest rules. Lua 5.4 is the default runtime, so no lua54 line is written.

Input Schema

NameRequiredDescriptionDefault
filesNoFiles sent to clients (NUI assets, data files)
authorNo
presetNobasic
ui_pageNoNUI page (preset nui), default html/index.html
versionNo
data_filesNoe.g. [{"type": "HANDLING_FILE", "path": "data/handling.meta"}]
descriptionNo
dependenciesNoResources or constraints, e.g. ["ox_lib", "/onesync"]
node_versionNoSet for server-side JavaScript using Node 22 features
client_scriptsNoe.g. ["client/*.lua"] or ["client.js"]
server_scriptsNoe.g. ["@oxmysql/lib/MySQL.lua", "server/*.lua"]
shared_scriptsNoe.g. ["@ox_lib/init.lua", "config.lua"]

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, so the safety profile is covered. The description adds real behavioral detail beyond that: the fixed header (fx_version 'cerulean', game 'gta5'), automatic validation against RPScripts manifest rules, and the deliberate omission of a lua54 line because Lua 5.4 is the default runtime. It stops short of saying whether the manifest is written to disk or returned as text, which matters even with readOnlyHint set.

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

Conciseness4/5

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

The action is front-loaded in the first clause and the entire definition is a single dense sentence with no filler. It is tightly packed but borderline overloaded, holding header values, supported content, validation, and runtime defaults in one run-on.

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?

With 12 optional parameters, 67% schema coverage, and no output schema, the description should clarify the return shape and validation failure behavior. It explains the header and runtime defaults but leaves open whether the manifest text is returned, whether validation errors abort generation, and how preset interacts with explicit script/file parameters.

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 coverage is 67%, and the description's content list loosely maps to several parameters (scripts to client/server/shared_scripts, NUI to files/ui_page, maps and vehicle data to data_files). However, it never mentions the preset enum, author, version, description, or node_version explicitly, so parameters without schema descriptions remain unclarified.

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?

States a specific verb and artifact: generates an fxmanifest.lua with a fixed fx_version/game header, and enumerates the content classes it can cover (client/server/shared scripts, NUI, maps, vehicle data, dependencies). This is clearly distinguishable from siblings like generate_script, validate_resource, and check_compatibility.

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?

Usage is implied by the content list (Lua or JS scripts, NUI, maps, vehicle data), but there is no explicit when-to-use or when-not-to-use guidance and no reference to alternatives such as validate_resource or generate_script. The agent must infer the calling context from the feature list.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources