Skip to main content
Glama

set_faction_reputation

Idempotent

Modify reputation between two factions in a Neverwinter Nights module and automatically create a new entry when none exists. Set faction IDs and a reputation value from hostile to friendly.

Instructions

Modify reputation between two factions. Creates a new entry if none exists.

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": {
      "faction1": "<faction1>",
      "faction2": "<faction2>",
      "reputation": "<reputation>"
    },
    "name": "set_faction_reputation"
  }
}

Input Schema

NameRequiredDescriptionDefault
faction1YesFirst faction ID
faction2YesSecond faction ID
reputationYesReputation value (0=hostile, 50=neutral, 100=friendly)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.3.1

TDQS

A3.6/5.0
Behavior3/5

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

Annotations supply only idempotentHint=true, and the description usefully adds the upsert behavior (creating an entry when absent), which is real context beyond the annotations. However, it does not state that an existing reputation value is overwritten, whether the relationship is symmetric or one-directional, or what permissions are needed.

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?

Two short sentences, zero filler, with the core action front-loaded and the upsert caveat immediately after. Nothing could be removed without losing information.

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 simple three-parameter mutation with full schema documentation and no output schema, the description covers purpose and the create-if-absent case. The remaining gap is whether setting reputation between A and B affects only one direction or both, which matters for correct invocation.

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%, including the semantic scale (0=hostile, 50=neutral, 100=friendly), so the baseline is 3. The description adds no parameter-level meaning beyond that — e.g., whether order of faction1/faction2 matters.

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?

States a specific verb and resource: 'Modify reputation between two factions', which is clearly distinct from sibling operations like create_faction or get_faction_details. It stops short of explicitly naming or contrasting a sibling, so it is clear but not maximally differentiated.

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 setter-style verb; there is no explicit statement of when to use this versus alternatives like reading faction details first. The 'creates a new entry if none exists' clause clarifies outcome but not selection guidance.

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