Skip to main content
Glama

ac_read_text

Read Assetto Corsa text and script files to inspect configuration or Lua code before editing.

Instructions

Read a text/script file, e.g. 'apps/lua/MyApp/MyApp.lua' or 'sys/ppfilters/pureVR.ini'.

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>"
    },
    "name": "ac_read_text"
  }
}

Input Schema

NameRequiredDescriptionDefault
fileYes
max_charsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.9/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 behavioral burden, and it discloses almost nothing beyond 'it reads'. It never mentions encoding, path-root semantics, what happens when the file is missing, or that large files may be truncated – even though the hidden max_chars parameter implies truncation is a real behavior.

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?

A single front-loaded sentence with the verb and resource first, followed by two compact examples. It earns its place and contains no padding, though the examples consume the space that could have carried parameter or behavior information.

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

Completeness2/5

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

For a simple file-read tool with no annotations and no output schema, the description should at minimum explain truncation (max_chars) and error behavior for missing files; neither appears. It is adequate to identify the tool but incomplete for calling it correctly on large or absent files.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% across two parameters. The path examples add genuine meaning to the 'file' parameter (relative-looking paths under apps/ and sys/), but 'max_chars' is never mentioned, so a caller cannot learn from the description that output may be capped at a default of 20000 characters.

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 ('Read') plus the resource ('a text/script file') and supplies concrete example paths such as 'apps/lua/MyApp/MyApp.lua', so an agent knows this returns file contents rather than a listing. It does not explicitly distinguish itself from similarly named siblings like ac_read or ac_read_video_preset, leaving that inference to the agent.

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 examples imply the intended domain (Lua app scripts, ppfilter config files) and thereby hint at when to reach for this over other read tools, but there is no explicit when-to-use, when-not-to-use, or prerequisite statement. Usage is implied rather than stated.

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