Skip to main content
Glama
KyodanCFG
by KyodanCFG

fgd_class

Retrieve a complete FGD entity class definition with inherited properties and spawnflags resolved from base classes, enabling precise entity placement in TrenchBroom.

Instructions

Full definition of one FGD entity class with inherited properties and spawnflags resolved from its base classes.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
fgd_pathYesAbsolute path to the .fgd file
classnameYes
Behavior3/5

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

With no annotations provided, the description carries the burden of behavioral disclosure. It adds meaningful context about inheritance resolution and spawnflag processing, which is beyond a basic lookup. It does not mention output format, errors, or side effects, but the read-only intent is reasonably clear.

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 with no filler. It front-loads the core purpose and adds the inheritance-resolution detail economy.

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 two-parameter retrieval tool, the description is mostly adequate but leaves the return value phrased only as 'full definition,' which is vague without an output schema. Some guidance on what the agent should expect in the result would strengthen completeness.

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?

The schema already documents fgd_path, and classname is left undocumented. The description references the class concept but does not specifically explain the classname parameter or how it relates to the returned definition. The parameter name is self-explanatory enough to be minimally adequate.

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 identifies the resource as 'one FGD entity class' and distinguishes it from the plural fgd_classes sibling by emphasizing a single class. It communicates the output is a full definition, though it lacks an explicit verb like 'retrieves' or 'returns'.

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 phrase 'with inherited properties and spawnflags resolved from its base classes' implies this tool is needed when a fully resolved class definition is required, as opposed to a simple listing. However, it does not explicitly name alternatives or state when not to use this tool.

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

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/KyodanCFG/trenchbroom-mcp'

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