Skip to main content
Glama
HOI4 Agent Tools

HOI4 Agent Tools

by klimPaskov

Read the mod's modding skills

hoi4.skill
Read-onlyIdempotent

Lists installed modding skills or loads one by name at the pinned kit version and hash, refusing locally edited files unless acceptLocalEdits is set.

Instructions

List the modding skills installed in the mod, or load one by name, at the kit version HOI4 Mod Setup pinned, with its hash. A file edited since Setup installed it is refused unless acceptLocalEdits. Example: {"name":"hoi4-events"}. Returns up to 20,000 bytes of text; continue from nextOffset.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "hoi4.skill"
  }
}

Input Schema

NameRequiredDescriptionDefault
fileNoSKILL.md
nameNo
offsetNo
workspaceIdNocurrent
acceptLocalEditsNo

Output Schema

NameRequiredDescriptionDefault
codeYes
dataYes
statusYes
blockersNo
artifactsNo
validationYes
diagnosticsNo
workspaceIdYes
changedFilesNo
filesScannedNo
proposedFilesNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv4.21.0

TDQS

A4.2/5.0
Behavior5/5

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

Annotations already declare readOnly/idempotent/non-destructive, and the description adds substantial behavior beyond them: results are pinned to the Setup kit version and carry a hash, edited files are refused unless acceptLocalEdits, and output is truncated at 20,000 bytes with nextOffset continuation. These are exactly the traits an agent needs before calling.

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?

Three sentences plus a one-line example, each carrying distinct information: purpose/modes, the refusal rule, and the return-size contract. The most consequential constraint (local-edit refusal) is placed early and nothing is padded.

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

Completeness4/5

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

For a 5-parameter read tool with an output schema, the description covers purpose, version pinning, the refusal condition, and pagination, which is most of what an agent needs. The remaining gap is the meaning of the file and workspaceId parameters and any hint about what a 'skill' document contains.

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 0%, so the description must carry the load. It explains name (with a concrete example), acceptLocalEdits, and the pagination meaning of offset via 'nextOffset', but leaves file (defaulting to SKILL.md) and workspaceId entirely undocumented. Roughly half the parameters get real semantic value beyond the schema's regex patterns and defaults.

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?

Uses two specific verbs (list, load) against a concrete resource (the modding skills installed in the mod) and adds scope qualifiers: the kit version HOI4 Mod Setup pinned, with its hash. An agent can tell this apart from reference_read or source_lookup because the object is 'installed skills from the pinned kit', not arbitrary source files.

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 implies the two modes (omit name to list, pass name to load) and states the one precondition that matters for refusal (a locally edited file is rejected unless acceptLocalEdits). It never names an alternative sibling or says when to prefer this over reference_read/reference_context, so routing guidance is inferred rather than stated.

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