Skip to main content
Glama

create_faction

Adds a new faction to the module's .fac file, creating reputation entries for every existing faction. Use it to define faction names, parent IDs, and default reputations.

Instructions

Add a new faction to the module's .fac file with reputation entries for all existing factions.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "name": "<name>"
    },
    "name": "create_faction"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYesFaction display name
globalNoGlobal flag (0 or 1, default 0)
parentIdNoParent faction ID (default 4294967295 = no parent)
defaultReputationNoDefault reputation toward all existing factions (0-100, default 50)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.3.1

TDQS

B3.3/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full burden. It does disclose one important side effect — writing to the .fac file and generating reputation entries for every existing faction — but says nothing about permissions, failure/duplicate-name behavior, or what is returned to the caller.

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?

A single front-loaded sentence with the action first and the side effect second; nothing is padded or repeated.

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 mutation tool with no annotations and no output schema, the definition covers the write target and the bulk reputation side effect but omits error modes, overwrite semantics, and any indication of the return value.

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 all four parameters are already documented with defaults and ranges; baseline is 3. The description only reinforces that reputation entries are created for all existing factions, adding little beyond the 'global', 'parentId', and 'defaultReputation' descriptions in the schema.

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?

Names a specific verb and resource ('Add a new faction') and even the storage target (the module's .fac file), which makes it easy to separate from siblings like set_faction_reputation or get_faction_details. It stops short of explicitly naming those alternatives, so no full sibling differentiation.

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 only implied by the verb: an agent can infer this is the creation path versus the get_/set_ siblings, but there is no statement of when to prefer it, prerequisites (e.g. module must already exist), or what to do if the faction already exists.

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

Deploy Server

Other Tools