Skip to main content
Glama

cache_visual_offsets

Cache discovered visual wheel offsets for later use, enabling set_visual_wheel_size and set_visual_wheel_width to apply them without re-specifying offsets.

Instructions

Cache discovered visual wheel offsets for later use.

After using find_wheel_visual_offsets or probe_drawhandler to discover the correct offsets, use this to cache them so set_visual_wheel_size/width can use them without re-specifying.

Args: dh_offset: DrawHandler offset from vehicle base srg_offset: StreamRenderGfx offset from DrawHandler size_offset: Wheel size offset in StreamRenderGfx width_offset: Wheel width offset in StreamRenderGfx

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
dh_offsetYes
srg_offsetYes
size_offsetYes
width_offsetYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior2/5

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

No annotations are provided, so the description carries full burden for behavioral disclosure. It states that offsets are cached but does not describe whether caching is persistent, what happens if offsets already exist, or any side effects. The description is minimal on behavioral traits.

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?

The description is very concise, with a brief summary paragraph and an Args section that lists parameters with short explanations. No extraneous information. The purpose is front-loaded.

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?

Given the complexity (4 required parameters) and the presence of an output schema (not visible), the description does not mention return values or error conditions. It mentions prerequisites implicitly but could be more explicit about the workflow. Adequate but not fully complete.

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 coverage is 0%, meaning the parameter titles offer no description. The description provides one-line explanations for each parameter, which add meaning beyond the schema. However, explanations are terse and could be improved to clarify what the offsets represent and how to obtain them.

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?

The description clearly states the tool's purpose: to cache discovered visual wheel offsets for later use. It distinguishes the tool from siblings like find_wheel_visual_offsets and probe_drawhandler by specifying the context and outcome.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description explicitly states when to use this tool: after using find_wheel_visual_offsets or probe_drawhandler. It also explains the benefit: so set_visual_wheel_size/width can use them without re-specifying. However, it does not explicitly state when not to use it or mention alternatives beyond the implied precursors.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/TabbedScamper/GTAV-CLAUDE-MCP'

If you have feedback or need assistance with the MCP directory API, please join our Discord server