Skip to main content
Glama

Get Command Schema

get_command_schema
Read-onlyIdempotent

Get the recursive schema for one command type, so you can build a valid command object. Some fields carry a 'notes' string describing accepted keys that aren't reflectable, such as element action options and locator attributes.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
commandTypeYesThe command type, e.g. 'http', 'navigate', or 'element'.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
kindYes
typeYes
itemsNo
notesNo
fieldsNo
variantsNo
allowedValuesNo
discriminatorNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already indicate a safe, read-only, idempotent operation. The description adds useful behavioral detail beyond the annotations: the schema is recursive, and some fields include a 'notes' string covering non-reflectable accepted keys. This helps the agent understand what the returned schema will contain.

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 concise sentences, with the core purpose front-loaded and the second sentence adding genuinely useful detail about non-reflectable keys. No wasted words.

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

Completeness5/5

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

For a single-parameter read-only tool with an output schema, the description is complete. It tells the agent what the tool does, when to use it, and what to expect in the response, including a notable caveat about 'notes' strings.

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%, and the input schema already describes the single parameter with an example. The description does not add new parameter-level semantics, so the baseline score of 3 is appropriate.

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 uses a specific verb ('Get'), names the resource ('recursive schema for one command type'), and states the intended outcome ('build a valid command object'). This clearly distinguishes it from sibling tools like list_command_types and get_variable_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?

The description clearly implies the use case: when you need to construct a valid command object for a single command type. It does not explicitly name alternatives or state when not to use it, but the context is clear enough for an agent to select it appropriately.

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.