Skip to main content
Glama
Oceanum MCP

Oceanum MCP

Official
by oceanum-io

Datamesh Describe Result

datamesh_describe_result
Read-only

Retrieves metadata for a staged query result, including its query, size, variables with units, and provenance. Use it to inspect and reuse a result handle in downstream queries, views, or exports.

Instructions

Describe a result handle from stage_query: its query, size, variables with units, and provenance.

The returned oceanql is the query itself, usable as is: as an EIDOS view's oceanql source, in sandbox code as Connector().query(**oceanql), or by passing the result_id to query_data or export_query. provenance is a W3C PROV-shaped record to cite under any number derived from the result.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "result_id": "<result_id>"
    },
    "name": "datamesh_describe_result"
  }
}

Input Schema

NameRequiredDescriptionDefault
result_idYesThe result_id stage_query returned.

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.8.0

TDQS

A3.9/5.0
Behavior3/5

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

Annotations already declare it as a read-only, open-world operation, and an output schema exists, so the description's account of `provenance` being a W3C PROV-shaped record is the main value-add beyond structured fields. It does not cover failure modes such as expired or unknown result_ids, which would be genuinely new behavioral information.

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

Conciseness4/5

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

Three compact sentences, front-loaded with what the tool returns, then usage of the returned fields. Dense with domain jargon (EIDOS, oceanql, Connector) but every clause carries information; no padding.

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?

Given a single-parameter read tool with annotations and an output schema, the definition covers purpose, downstream usage, and provenance semantics adequately. Nothing essential for invocation is missing, though noting behavior for invalid handles would round it out.

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?

Only one parameter with 100% schema coverage, so the schema already documents `result_id`. The description reinforces its origin ('a result handle from stage_query'), but adds no format or validity constraints beyond that.

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 ('Describe a result handle from stage_query') and enumerates what comes back: query, size, variables with units, provenance. It ties the handle back to its producing tool, so an agent can tell it apart from stage_query, query_data, and export_query just from the text.

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?

Explains what to do with the returned `oceanql` (EIDOS view source, sandbox `Connector().query(**oceanql)`, or pass result_id to query_data/export_query), which implicitly positions this as the inspection step before querying or exporting. It stops short of explicit when-not-to-use guidance, such as skipping the call when the handle is already known to be stale.

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