Skip to main content
Glama

Preview pipeline results

preview_custom_pipeline
Read-only

Post Pipeline Preview

When to use: 저장된 파이프라인의 결과를 미리 볼 때 — 소스·스텝을 고친 뒤 저장·배포 전에 결과가 맞는지 확인하는 검증 단계로 쓴다(force_build=true).

Limitations: force_build 를 생략하면 마지막으로 빌드된 결과 테이블을 읽으므로 방금 고친 초안이 반영되지 않는다 — 고친 내용을 확인하려면 force_build=true. up_to_priority 를 주면 그 순서까지의 스텝만 적용한다. 해석하지 못한 룩업은 조용히 건너뛰므로 룩업이 붙는지는 get_custom_pipeline_lookup_match_rate 로 따로 확인한다. 최대 200행.

Examples:

  • Q: 수정한 파이프라인 결과 미리 보여줘 params: {'path': {'pipeline_id': 34}, 'body': {'force_build': True, 'limit': 20}}

Output shape: object: {columns[], rows[], row_count, generated_sql, snapshot_used, snapshot_table}

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": {
      "pipeline_id": "<pipeline_id>"
    },
    "name": "preview_custom_pipeline"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo
offsetNo
filtersNo
project-idNo
force_buildNo
pipeline_idYes
select_columnsNo
up_to_priorityNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior5/5

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

Beyond the annotations (which only say read-only, non-destructive), the description discloses that omitting force_build reads the last built table and therefore returns stale results, that up_to_priority truncates the step chain, that unparsed lookups are silently skipped, and that results cap at 200 rows. The silent-skip warning in particular points the agent at get_custom_pipeline_lookup_match_rate for verification, which is behavioral context the schema and annotations cannot supply.

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?

The when-to-use, limitations, example, and output-shape sections are cleanly labeled and front-loaded, and the caveats all earn their place. The leading 'Post Pipeline Preview' header is a low-value restatement of the title and the output-shape line duplicates the existing output schema.

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

Completeness3/5

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

For an 8-parameter preview tool the key semantic trap (stale results without force_build) is covered well, and an output schema exists so return values need little explanation. However, four parameters remain wholly undocumented in both schema and description, which is a real gap for an agent constructing a filtered/column-projected call.

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 description coverage is 0% across 8 parameters, so the description must compensate and only partly does: it explains force_build's staleness semantics, up_to_priority's truncation, and limit's 200-row ceiling. offset, filters, project-id, and select_columns are never mentioned, and the example only incidentally shows pipeline_id nested under path.

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 'When to use' line gives a specific verb and resource: preview the results of a saved pipeline to verify edits before saving or deploying. The word '저장된' (saved) implicitly distinguishes it from the draft/source preview siblings, though it never names those alternatives explicitly, so an agent still has to infer the boundary.

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 states a concrete usage scenario (verify after editing sources/steps, before save/deploy) and pairs it with the required switch force_build=true, which is exactly the conditional guidance an agent needs. It falls short of a full 5 because it never says when to prefer preview_custom_pipeline_draft or preview_custom_pipeline_source instead, leaving the sibling choice to inference.

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