Skip to main content
Glama

get_game_event

Read-onlyIdempotent

Retrieves a game event's effective fields and types after core, game, and mod overrides, so agents can verify event properties for CS2 or Deadlock scripting.

Instructions

Get a game event's fields and types (the effective definition after core/game/mod overrides).

Input Schema

NameRequiredDescriptionDefault
gameYesGame id: one of cs2, deadlock
nameYesEvent name, e.g. player_death

Output Schema

NameRequiredDescriptionDefault
nameYes
fieldsNo
overridesNoLower-precedence files that also define this event
descriptionNo
source_fileYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint and closed-world, so the safety profile is covered. The description adds genuinely non-obvious behavior: the returned definition is the *effective* one after core/game/mod override resolution, which tells the agent the result may differ from raw source files.

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?

A single sentence with the verb, resource, return content, and the override caveat in a tight parenthetical. Nothing wasted and the key scope qualifier is front-loaded.

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?

An output schema exists, so return shape needs no prose, and both required parameters are schema-documented. For a two-param read tool this is nearly complete; only the relationship to list_game_events is left unstated.

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 100% — both 'game' (cs2, deadlock) and 'name' (e.g. player_death) are documented inline. The description adds only indirect meaning via the override mention and does not restate formats, so the baseline 3 applies.

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 (Get) and resource (game event) and adds what is returned: fields and types. It reads clearly against neighbors like get_entity and get_schema_class by naming the 'game event' domain, though it never names list_game_events as the contrasting sibling.

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: an agent can infer this is the detail lookup complementing list_game_events, but the description never states when to call it versus that lister or versus get_schema_class. No prerequisites or exclusions are given.

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