Skip to main content
Glama
staffdill

observe-mcp

by staffdill

inspect_dataset

Sample a dataset to discover field names and example values before writing OPAL queries, ensuring you know which fields to filter on.

Instructions

Sample a dataset to discover available field names and example values. Call this before writing OPAL queries so you know exactly which fields to filter on.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pipelineNoOptional OPAL filter to scope the sample, e.g. 'filter service = "api-server"'. Defaults to no filter.
sample_sizeNoNumber of rows to sample (default 5). More rows = better field coverage.
dataset_pathNoObserve dataset path. Falls back to OBSERVE_DEFAULT_DATASET env var.
Behavior3/5

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

Given no annotations, the description carries full burden. It implies a safe, non-destructive sample operation but does not explicitly state read-only behavior or any side effects. The purpose is clear but lacks explicit behavioral disclosure.

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?

The description is extremely concise: two sentences that front-load the action and outcome, then add usage context. Every sentence earns its place with no redundancy.

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

Completeness2/5

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

The description explains purpose and usage but fails to describe the output format (e.g., list of field names with example values, or a sample table). Without an output schema, the description should clarify what the tool returns, which is missing.

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% with each parameter described meaningfully (pipeline filter, sample_size, dataset_path). The description adds no additional parameter details beyond the schema, so baseline 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 clearly states the tool samples a dataset to discover field names and example values, with a specific verb and resource. It differentiates from sibling tools like get_dataset_schema and observe_query by focusing on field discovery before writing queries.

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 explicitly says to call this before writing OPAL queries to know which fields to filter on. This provides clear when-to-use guidance, though it does not mention when not to use or alternatives explicitly.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/staffdill/observe-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server