Skip to main content
Glama

get_schema_class

Read-onlyIdempotent

Retrieve Source 2 schema class or enum fields, types, defaults, metadata, inheritance, and subclasses for CS2/Deadlock networked fields, VData keys, and plugin offsets.

Instructions

Get an engine schema class or enum: fields with types, defaults and metadata, the inheritance chain and direct subclasses. Use it for networked fields, VData keys (Deadlock abilities) and plugin offsets.

Input Schema

NameRequiredDescriptionDefault
gameYesGame id: one of cs2, deadlock
nameYesClass/enum name, or 'module:Name' from a search key
moduleNoSchema module, e.g. server, client
include_inheritedNo

Output Schema

NameRequiredDescriptionDefault
kindYes
nameYes
basesNo
fieldsNo
moduleYes
derivedNoDirect subclasses
metadataNo
field_countNo
inheritanceNo
underlying_typeNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.7/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true and openWorldHint=false, so safety and determinism are covered. The description adds that results include the inheritance chain and direct subclasses, but says nothing about behavior when a class/enum is missing, name ambiguity across modules, or whether include_inherited changes output shape.

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?

Two sentences, front-loaded with the verb+resource and then usage contexts; no filler, no restating of the title.

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?

With an output schema and annotations present, the description only needs to add selection and input nuance, and it partly does. However, for a two-required-param lookup against multiple games and modules, it omits how to disambiguate same-named classes and what include_inherited does, leaving real gaps for correct invocation.

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 75%: game, name (including the 'module:Name' form) and module are documented in-schema, while include_inherited has no description at all. The description's mention of the 'inheritance chain' hints at inherited-member behavior but never explains the include_inherited flag or the relationship between the name and module parameters.

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 ('Get an engine schema class or enum') and enumerates the payload: fields, types, defaults, metadata, inheritance chain and subclasses. An agent can tell it is a single-item lookup rather than a listing, though it never names the nearest sibling list_schema_classes explicitly.

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 second sentence gives concrete use cases (networked fields, VData keys for Deadlock abilities, plugin offsets), which is real selection guidance rather than a generic 'use this to get a class'. It stops short of stating exclusions or pointing to list_schema_classes/search for discovery.

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