Skip to main content
Glama

Get a saved blend

get_blend
Read-only

Inspect one blend: its definition, exports, and recent runs.

Returns {blend, schema, exports, recent_executions} — the blend record (name, status, data sources, accounts), its exports/schedules (one per destination), and the newest execution rows. schema.custom_metrics lists the blend's saved calculated fields; each name is queryable with query_blend. Use this before editing a blend or to answer "when did this last run?".

Each export carries its saved settings as stored — query_name, metrics, dimensions, date_range, filters, sort, destination_settings (spreadsheet/worksheet or dataset/table, write mode, start cell, and for Sheets replace_null_with_zero) and data_source_ids — so an export can be read without running or changing it, plus last_run / last_run_status / last_run_error of its newest execution. An empty schedule means the export only runs on demand. The run reads its data from the blend.

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": {
      "blend_id": "<blend_id>"
    },
    "name": "get_blend"
  }
}

Input Schema

NameRequiredDescriptionDefault
blend_idYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already cover the safe-read profile, and the description adds genuine semantics beyond them: what an empty schedule means (on-demand only), that run state is exposed via last_run/last_run_status/last_run_error, and that settings are returned "as stored" without executing anything. Auth requirements, rate limits, and pagination on recent executions are not mentioned, which keeps it from a 5.

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

Conciseness3/5

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

The purpose sentence and the usage sentence are front-loaded and earn their place, but the long second paragraph enumerates every export field in a dense parenthetical run-on. That detail largely duplicates the output schema and makes the definition harder to scan than it needs to be.

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 single-parameter read with full annotation coverage and an output schema, the description is more than sufficient — the reader knows the return shape, the schedule semantics, and the editing workflow it supports. The one real gap is how blend_id is obtained, which belongs here given the schema offers nothing.

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

Parameters2/5

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

The only parameter, blend_id, has no description in the schema (0% coverage) and the description never says what form it takes or where to obtain it — only "one blend" implies a single identifier. With a low-coverage schema, the description should have compensated and does not.

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?

"Inspect one blend: its definition, exports, and recent runs" names a specific verb, resource, and scope, and it distinguishes this from list_blends (many) and query_blend (querying the metrics it exposes). An agent can tell what it will get without opening the schema.

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 two concrete triggers: "Use this before editing a blend" and "to answer 'when did this last run?'", and it routes metric querying to query_blend. It stops short of explicit when-not-to-use guidance (e.g., bulk listing or report inspection via get_report), so it is clear context rather than full routing.

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