Skip to main content
Glama

get_variables

Discover scientific variables and measurements associated with a collection, or look up variables by keyword. Use this tool to understand dataset variables, dimensions, and data processing parameters (such as scale, offset, and fill values) before downloading or analyzing data.

Key fields in each returned item:

  • concept_id: CMR variable concept ID

  • name: Variable short name

  • long_name: Variable long name

  • definition: Variable definition

  • data_type: Data type of the variable

  • units: Units of measurement

  • scale: Scale factor

  • offset: Offset value

  • fill_values: Values indicating missing or invalid data

  • valid_ranges: Valid data ranges

  • dimensions: Variable dimensions

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoMaximum number of results to return (default 10, max 50). Keep this small to avoid context window bloat. When using limit > 10, always specify the fields parameter.
cursorNoPagination token for the next page of results. Pass the exact next_cursor string returned by the previous tool call. Cursors are query-scoped: they lock in the original search parameters and cannot be reused across different tools or different queries. If you need to change any search parameter, start a new search without a cursor.
fieldsNo
keywordNo
collection_concept_idNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
statusYesStatus of the tool execution
variablesNoNormalized variable results mapped from UMM-V
total_hitsNoTotal number of matching items
next_cursorNoPagination token for the next page; None when no more results
error_messageNoError details when status is error

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior3/5

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

With no annotations, the description must carry the behavioral burden. It implies a read-only discovery/lookup operation and enumerates the returned fields, but says nothing about permissions, whether cursors are query-scoped (left to the schema), or result ordering. The behavior is inferable but not fully disclosed.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The opening sentences are well front-loaded, but the ten-line bullet list of return fields largely duplicates the existing output schema and consumes substantial space without adding selection guidance. Roughly half the text is redundant with structured data.

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?

An output schema exists, so the field glossary is not strictly necessary; the more valuable missing content is how to choose between keyword and collection lookups and what the fields parameter does. Adequate for a simple read tool, but leaves real gaps for a 5-parameter API.

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 40%, so the description must compensate. It clarifies the keyword lookup mode, but says nothing about 'fields' semantics beyond the vague phrase 'key fields,' and nothing about collection_concept_id or how the two lookup modes interact. The richer parts of the schema (limit, cursor) already carry their own documentation.

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?

The description names a specific resource (scientific variables/measurements) and two concrete retrieval modes (by collection, by keyword), so an agent knows exactly what it returns. It does not explicitly contrast itself with siblings like get_collections or get_granules, so it falls short of the 5-level sibling differentiation bar.

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?

It gives a clear usage context: 'understand dataset variables, dimensions, and data processing parameters ... before downloading or analyzing data,' which tells the agent when this tool belongs in a workflow. It stops short of naming alternatives or stating when not to use it (e.g., when only collection metadata is needed).

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