Skip to main content
Glama

Analytics field catalog

exim__analytics__catalog
Read-onlyIdempotent

Lists the analytics fields, their coverage, allowed filters and time windows, with worked examples. Call it before building an analytics query or SQL so you use valid fields.

Input Schema

NameRequiredDescriptionDefault
fieldNoReturn only this analytics field, such as hs6 or value_usd.
sectionNoOptional catalog section; omitted returns the complete catalog.

Output Schema

NameRequiredDescriptionDefault
dataYes
statsNo
_debugNo
summaryYes
warningsNo
nextActionsYes
correlationIdNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / field
      Added value: +{
      +  "description": "Return only this analytics field, such as hs6 or value_usd.",
      +  "maxLength": 8000,
      +  "type": "string"
      +}
  2. Changed1 schema field changed
    • removedInput schema / properties / field
      Removed value: -{
      -  "description": "Return only this analytics field, such as hs6 or value_usd.",
      -  "maxLength": 8000,
      -  "type": "string"
      -}
  3. Changed1 schema field changed
    • addedInput schema / properties / field
      Added value: +{
      +  "description": "Return only this analytics field, such as hs6 or value_usd.",
      +  "maxLength": 8000,
      +  "type": "string"
      +}
  4. Changed2 schema fields changed
    • addedInput schema / properties / section
      Added value: +{
      +  "description": "Optional catalog section; omitted returns the complete catalog.",
      +  "enum": [
      +    "fields",
      +    "examples",
      +    "filters",
      +    "timeWindows"
      +  ],
      +  "maxLength": 8000,
      +  "type": "string"
      +}
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "$defs": {
      +    "value0": {
      +      "additionalProperties": false,
      +      "properties": {
      +        "companyHistory": {
      +          "type": "string"
      +        },
      +        "dimensions": {
      +          "$ref": "#/$defs/value2"
      +        },
      +        "examples": {
      +          "$ref": "#/$defs/value10"
      +        },
      +        "fieldCoverage": {
      +          "$ref": "#/$defs/value16"
      +        },
      +        "filterOperators": {
      +          "$ref": "#/$defs/value8"
      +        },
      +        "measures": {
      +          "$ref": "#/$defs/value5"
      +        },
      +        "operations": {
      +          "$ref": "#/$defs/value7"
      +        },
      +        "sqlTables": {
      +          "$ref": "#/$defs/value1"
      +        },
      +        "timeWindows": {
      +          "$ref": "#/$defs/value9"
      +        }
      +      },
      +      "required": [
      +        "companyHistory",
      +        "dimensions",
      +        "examples",
      +        "fieldCoverage",
      +        "filterOperators",
      +        "measures",
      +        "operations",
      +        "sqlTables",
      +        "timeWindows"
      +      ],
      +      "type": "object"
      +    },
      +    "value1": {
      +      "anyOf": [
      +        {
      +          "items": {
      +            "type": "string"
      +          },
      +          "type": "array"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    },
      +    "value10": {
      +      "anyOf": [
      +        {
      +          "items": {
      +            "$ref": "#/$defs/value11"
      +          },
      +          "type": "array"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    },
      +    "value11": {
      +      "additionalProperties": false,
      +      "properties": {
      +        "query": {
      +          "$ref": "#/$defs/value12"
      +        },
      +        "question": {
      +          "type": "string"
      +        }
      +      },
      +      "required": [
      +        "query",
      +        "question"
      +      ],
      +      "type": "object"
      +    },
      +    "value12": {
      +      "additionalProperties": false,
      +      "properties": {
      +        "descending": {
      +          "type": "boolean"
      +        },
      +        "filters": {
      +          "$ref": "#/$defs/value15"
      +        },
      +        "groupBy": {
      +          "$ref": "#/$defs/value13"
      +        },
      +        "having": {
      +          "type": "string"
      +        },
      +        "limit": {
      +          "type": "integer"
      +        },
      +        "measures": {
      +          "$ref": "#/$defs/value14"
      +        },
      +        "offset": {
      +          "type": "integer"
      +        },
      +        "orderBy": {
      +          "type": "string"
      +        },
      +        "timeWindow": {
      +          "type": "string"
      +        }
      +      },
      +      "required": [
      +        "measures"
      +      ],
      +      "type": "object"
      +    },
      +    "value13": {
      +      "anyOf": [
      +        {
      +          "items": {
      +            "type": "string"
      +          },
      +          "type": "array"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    },
      +    "value14": {
      +      "anyOf": [
      +        {
      +          "items": {
      +            "type": "string"
      +          },
      +          "type": "array"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    },
      +    "value15": {
      +      "anyOf": [
      +        {
      +          "items": {
      +            "additionalProperties": false,
      +            "properties": {
      +              "dim": {
      +                "type": "string"
      +              },
      +              "op": {
      +                "type": "string"
      +              },
      +              "value": {
      +                "anyOf": [
      +                  {
      +                    "type": "string"
      +                  },
      +                  {
      +                    "items": {
      +                      "type": "string"
      +                    },
      +                    "type": "array"
      +                  }
      +                ]
      +              }
      +            },
      +            "required": [
      +              "dim",
      +              "op",
      +              "value"
      +            ],
      +            "type": "object"
      +          },
      +          "type": "array"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    },
      +    "value16": {
      +      "anyOf": [
      +        {
      +          "additionalProperties": {
      +            "$ref": "#/$defs/value17"
      +          },
      +          "type": "object"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    },
      +    "value17": {
      +      "anyOf": [
      +        {
      +          "items": {
      +            "type": "string"
      +          },
      +          "type": "array"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    },
      +    "value18": {
      +      "anyOf": [
      +        {
      +          "items": {
      +            "type": [
      +              "null",
      +              "boolean",
      +              "number",
      +              "string",
      +              "array",
      +              "object"
      +            ]
      +          },
      +          "type": "array"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    },
      +    "value19": {
      +      "anyOf": [
      +        {
      +          "items": {
      +            "$ref": "#/$defs/value20"
      +          },
      +          "type": "array"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    },
      +    "value2": {
      +      "anyOf": [
      +        {
      +          "items": {
      +            "$ref": "#/$defs/value3"
      +          },
      +          "type": "array"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    },
      +    "value20": {
      +      "additionalProperties": false,
      +      "properties": {
      +        "command": {
      +          "type": "string"
      +        },
      +        "cost": {
      +          "type": "string"
      +        },
      +        "label": {
      +          "type": "string"
      +        },
      +        "rationale": {
      +          "type": "string"
      +        }
      +      },
      +      "required": [
      +        "command",
      +        "cost",
      +        "label",
      +        "rationale"
      +      ],
      +      "type": "object"
      +    },
      +    "value21": {
      +      "anyOf": [
      +        {
      +          "additionalProperties": {
      +            "type": "number"
      +          },
      +          "type": "object"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    },
      +    "value22": {
      +      "anyOf": [
      +        {
      +          "items": {
      +            "$ref": "#/$defs/value23"
      +          },
      +          "type": "array"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    },
      +    "value23": {
      +      "additionalProperties": false,
      +      "properties": {
      +        "code": {
      +          "type": "string"
      +        },
      +        "message": {
      +          "type": "string"
      +        }
      +      },
      +      "required": [
      +        "code",
      +        "message"
      +      ],
      +      "type": "object"
      +    },
      +    "value24": {
      +      "anyOf": [
      +        {
      +          "additionalProperties": {
      +            "type": [
      +              "null",
      +              "boolean",
      +              "number",
      +              "string",
      +              "array",
      +              "object"
      +            ]
      +          },
      +          "type": "object"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    },
      +    "value3": {
      +      "additionalProperties": false,
      +      "properties": {
      +        "description": {
      +          "type": "string"
      +        },
      +        "key": {
      +          "type": "string"
      +        },
      +        "sources": {
      +          "$ref": "#/$defs/value4"
      +        }
      +      },
      +      "required": [
      +        "description",
      +        "key"
      +      ],
      +      "type": "object"
      +    },
      +    "value4": {
      +      "anyOf": [
      +        {
      +          "items": {
      +            "type": "string"
      +          },
      +          "type": "array"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    },
      +    "value5": {
      +      "anyOf": [
      +        {
      +          "items": {
      +            "$ref": "#/$defs/value6"
      +          },
      +          "type": "array"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    },
      +    "value6": {
      +      "additionalProperties": false,
      +      "properties": {
      +        "dedupNote": {
      +          "type": "string"
      +        },
      +        "description": {
      +          "type": "string"
      +        },
      +        "key": {
      +          "type": "string"
      +        },
      +        "unit": {
      +          "type": "string"
      +        }
      +      },
      +      "required": [
      +        "description",
      +        "key",
      +        "unit"
      +      ],
      +      "type": "object"
      +    },
      +    "value7": {
      +      "anyOf": [
      +        {
      +          "items": {
      +            "type": "string"
      +          },
      +          "type": "array"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    },
      +    "value8": {
      +      "anyOf": [
      +        {
      +          "items": {
      +            "type": "string"
      +          },
      +          "type": "array"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    },
      +    "value9": {
      +      "anyOf": [
      +        {
      +          "items": {
      +            "type": "string"
      +          },
      +          "type": "array"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    }
      +  },
      +  "additionalProperties": false,
      +  "properties": {
      +    "_debug": {
      +      "$ref": "#/$defs/value24"
      +    },
      +    "correlationId": {
      +      "type": "string"
      +    },
      +    "data": {
      +      "additionalProperties": false,
      +      "properties": {
      +        "context": {
      +          "type": [
      +            "null",
      +            "boolean",
      +            "number",
      +            "string",
      +            "array",
      +            "object"
      +          ]
      +        },
      +        "cursor": {
      +          "type": "string"
      +        },
      +        "has_more": {
      +          "type": "boolean"
      +        },
      +        "items": {
      +          "anyOf": [
      +            {
      +              "items": {
      +                "$ref": "#/$defs/value0"
      +              },
      +              "type": "array"
      +            },
      +            {
      +              "type": "null"
      +            }
      +          ]
      +        }
      +      },
      +      "required": [
      +        "context",
      +        "has_more",
      +        "items"
      +      ],
      +      "type": "object"
      +    },
      +    "nextActions": {
      +      "$ref": "#/$defs/value19"
      +    },
      +    "stats": {
      +      "$ref": "#/$defs/value21"
      +    },
      +    "summary": {
      +      "type": "string"
      +    },
      +    "warnings": {
      +      "$ref": "#/$defs/value22"
      +    }
      +  },
      +  "required": [
      +    "data",
      +    "nextActions",
      +    "summary"
      +  ],
      +  "type": "object"
      +}
  5. First observed

TDQS

A4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and a closed-world read, so the safety profile is covered. The description adds that the output is a static reference containing coverage, filters, time windows and worked examples, but says nothing about size, pagination, or freshness/versioning of the catalog.

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, zero waste: the content of the catalog comes first, the routing instruction second. Nothing repeats the title or the schema.

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?

With an output schema present, return values need not be explained, and the parameters are fully covered by the schema, so the description only needs to establish purpose and routing — which it does. It stops short of noting any preconditions such as dataset scope or whether the catalog is version-specific.

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 description coverage is 100%, so both the `field` and `section` parameters are already documented, including the section enum. The description's mention of 'coverage, allowed filters and time windows' loosely maps to the section enum values but adds no syntax or format detail beyond the schema — the baseline 3 applies.

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 — it lists analytics fields plus their coverage, filters, time windows, and examples — which an agent can distinguish at a glance from the query/sql executors in the same family. The scope of the resource (metadata catalog vs. data results) is unambiguous.

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?

Explicitly routes the agent: 'Call it before building an analytics query or SQL so you use valid fields,' naming the sibling alternatives and the precondition that selects this tool. It does not state a when-not-to-use case (e.g., skip if field names are already known), so it falls just short of full guidance.

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.