Skip to main content
Glama

ac_set

Set a single key in an INI file with automatic backup and logging; use an empty section for sectionless files.

Instructions

Set one key in an ini (backup + log). section='' for files without sections. Example: ac_set('ext/vr_tweaks.ini', 'OPENXR_TWEAKS', 'EYE_TRACKING', '1').

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": {
      "file": "<file>",
      "section": "<section>",
      "key": "<key>",
      "value": "<value>"
    },
    "name": "ac_set"
  }
}

Input Schema

NameRequiredDescriptionDefault
keyYes
fileYes
valueYes
sectionYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.4/5.0
Behavior3/5

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

With no annotations supplied, the description carries the full burden, and it does disclose one material behavior: '(backup + log)', telling the agent the operation is non-destructive because a backup is written. It leaves open whether a missing file or section is created, whether an existing key is overwritten, and what permissions are required.

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?

Two short sentences plus a concrete example, with the core behavior front-loaded. The '(backup + log)' parenthetical is telegraphic, but nothing is wasted and the example earns its place by encoding argument order.

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 write tool with no annotations, no output schema, and zero schema description coverage, the definition is serviceable but thin. The example and section rule cover the mechanics of calling it, but side effects on existing keys/files and return behavior are left to inference.

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 compensate for four undocumented parameters. The worked example fixes the positional order (file, section, key, value), and the section='' rule documents an otherwise non-obvious parameter value, which is real added meaning. Value typing/coercion and overwrite semantics remain unexplained.

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: 'Set one key in an ini'. The word 'one' implicitly contrasts with the ac_set_many sibling, and naming ini files scopes the resource precisely. It stops short of explicitly naming the sibling it is not, so it lands at 4 rather than 5.

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?

Guidance is implied rather than stated: 'Set one key' versus a batch sibling, plus the practical rule 'section="" for files without sections' tells the agent how to handle sectionless ini files. There is no explicit when-to-use/when-not-to-use framing or statement of prerequisites.

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