Skip to main content
Glama

Connect a public dataset to my workspace

connect_dataset
Idempotent

Connects one public dataset to the authenticated workspace so its tables become queryable and downloadable. This is the gate every keyed read passes. Example: {"dataset_slug": "kden-metar-hourly"}. Idempotent: connecting an already-connected dataset succeeds and reports already_connected. Requires the Owner, Admin or Editor role. This is the one tool an mr_use_ key CANNOT call — that key class is read-only. It needs an OAuth connection carrying datasets:use, and refuses with the two routes that do work. It grants the workspace read access; it does not change the dataset or cost anything.

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": {
      "dataset_slug": "<dataset_slug>"
    },
    "name": "connect_dataset"
  }
}

Input Schema

NameRequiredDescriptionDefault
dataset_slugYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Beyond the annotations it discloses the idempotent outcome (succeeds and reports already_connected), the required OAuth scope datasets:use, the role gate, the mr_use_ key exclusion, and that no cost or dataset mutation occurs. This is exactly the extra context the structured fields cannot carry.

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?

Effect is front-loaded in the first sentence, followed by example, idempotency, permissions, credential restrictions and cost. Mostly tight, though a few clauses ("This is the gate every keyed read passes", the dangling "two routes") add bulk without resolving the reader's next question.

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?

No output schema exists, and the description supplies the key return signal (already_connected) plus auth and permission prerequisites, which covers the essential decision points for a single-parameter connect tool. The unnamed fallback routes are the only notable omission.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 0% for the single parameter, so the description has to compensate; the worked example ({"dataset_slug": "kden-metar-hourly"}) conveys the slug format, which the bare string schema does not. It does not mention the 1-120 character bound or what qualifies as public, so a small gap remains.

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?

"Connects one public dataset to the authenticated workspace so its tables become queryable and downloadable" gives a specific verb, resource, scope (public, one) and the observable effect. It also distinguishes itself from creation/list siblings by framing the operation as a gate that grants read access rather than producing or modifying a dataset.

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 clearly states the precondition (every keyed read passes through this) and the role requirement (Owner, Admin or Editor) and the credential class that cannot use it. The gap: it says it "refuses with the two routes that do work" but never names those routes, so the agent can't actually redirect a caller without extra lookup.

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