Skip to main content
Glama

Make a Rust crosshair code from settings, or read one

make_crosshair
Read-onlyIdempotent

[Calculators] Make a Rust crosshair code from settings, or read one. The crosshair generator (https://rust.wiki/crosshair): start from code (or the game's default crosshair), change any setting, and get back the shareable code, the console line to paste into F1 (crosshair.load_code ...), the page's console commands form, the full settings and a page link that opens it in the editor preview. Values are rounded to the editor's precision (0.01 for dot and spacing, 0.1 for length and width), as codes store them. Rust's built-in crosshair editor imports these codes; give the user console to paste into F1.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

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

Input Schema

NameRequiredDescriptionDefault
dotNoDot size 0-5 (0 = no dot).
codeNoA crosshair code to read (e.g. `RUST-FceIG-V4T`); other settings given with it are changed on top of it.
colorNoWhite, Green, Blue, Red, Yellow, Magenta, Cyan or Black (or 0-7).
styleNoDefault, Dot or T-Shape (or 0-2).
widthNoLine width, 1-8.
lengthNoLine length, 1-20.
outlineNoDraw an outline.
spacingNoGap from the centre, 0-3.
outline_colorNoOutline colour: Black, Green, Blue, Red, Yellow, Magenta, Cyan or White (or 0-7).
dynamic_spacingNoSpread the lines with weapon spread (the game's dynamic spacing).
dynamic_visibilityNoHide the crosshair while aiming down sights / moving (the game's dynamic visibility).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive, closed-world), and the description adds real behavior beyond them: it enumerates the returned fields (code, console, commands, settings, page) and discloses that values are rounded to the editor's precision per field. It omits what happens on a malformed `code` or on conflicting inputs, which keeps it from a 5.

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?

Front-loaded with purpose, then the workflow, then the return surface; the bracketed category tag and the link are compact. The middle sentence is long and packs a five-item return list inline, but every clause carries information an agent would otherwise have to guess.

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 an 11-parameter, zero-required calculator with no output schema, the description covers inputs, defaults, rounding, and the full return surface, so an agent can call it correctly. It leaves out invalid-code handling and whether omitted settings fall back to the default crosshair, which is a modest gap rather than a blocking one.

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

Parameters4/5

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

Schema coverage is 100%, so the baseline is 3, but the description adds semantics the schema cannot express: `code` acts as a base that other supplied settings are layered on top of, and rounding applies to dot/spacing (0.01) versus length/width (0.1). Those are genuinely useful invocation details beyond the field descriptions.

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?

States a specific verb and resource ('Make a Rust crosshair code from settings, or read one') and makes the dual encode/decode mode explicit up front, which is enough to separate it from the preset-fetching sibling without opening the schema.

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?

Describes the working pattern clearly: start from `code` or the game default, change any setting, receive the shareable code plus the F1 console line, and it ends with an actionable directive ('give the user `console` to paste into F1'). It does not name an alternative sibling or state when not to use it, so it stops short of a 5.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources