Skip to main content
Glama

StreamSchema

Retrieve field names and types for an OpenObserve stream before writing SQL against it, so queries use the correct schema.

Instructions

Field names and types for one OpenObserve stream. Call this before writing SQL against a stream you have not queried before.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
streamYesStream name, as StreamList reports it.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.1

TDQS

A3.8/5.0
Behavior3/5

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

With no annotations, the description carries the full behavioral burden. It discloses what the tool returns (field names and types) and the recommended call ordering, which is useful, but says nothing about permissions, error behavior when a stream doesn't exist, or cost.

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 short sentences, zero waste, with the resource identified first and the usage rule trailing it. Nothing needs trimming.

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?

For a simple one-parameter read tool with no output schema, the description covers the returned content and the call ordering. It stops short of documenting failure modes or whether results are cached, which are minor gaps here.

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 there is a single required parameter already documented as 'Stream name, as StreamList reports it.' The description adds only the implicit notion of 'one stream' and no format or naming detail beyond the schema, 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?

The description states a specific resource and output: field names and types for one OpenObserve stream. It clearly differs from StreamList (enumerating streams) and SearchSQL (executing queries), though it never names those siblings 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?

It gives explicit conditional guidance: call this before writing SQL against a stream you have not queried before. That is a usable when-to-use rule, but it doesn't name the alternative tools or state when this call is unnecessary.

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

Deploy Server

Other Tools