Skip to main content
Glama

Get custom asset

get_custom_asset
Read-only

Get Asset

When to use: 에셋 하나를 고치거나 배포·복원하기 전에 현재 상태를 읽을 때 — 하위 파이프라인 목록과 draft_revision 을 함께 돌려준다.

Limitations: updated_at 은 에셋 행을 고칠 때(expected_updated_at), draft_revision 은 배포·복원할 때(expected_revision) 넘기는 토큰이다 — 쓰기 직전에 다시 읽어 최신 값을 쓴다. 파이프라인의 소스·스텝 상세는 get_custom_pipeline 으로 읽는다. 없는 id 면 404. 커스텀 에셋·파이프라인은 같은 소유자의 모든 프로젝트가 공유하며, 발행하면 그 프로젝트들 대시보드에도 반영된다.

Examples:

  • Q: 주문 보강 에셋의 파이프라인 구성 보여줘 params: {'path': {'asset_id': 12}}

Output shape: object: {id, name, status, active_version_id, updated_at, draft_revision, pipelines[{id, name, status, active_version_id, updated_at, ...}], ...}

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": {
      "asset_id": "<asset_id>"
    },
    "name": "get_custom_asset"
  }
}

Input Schema

NameRequiredDescriptionDefault
asset_idYes
project-idNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior5/5

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

Beyond the readOnlyHint/destructiveHint annotations, it discloses that updated_at and draft_revision are concurrency tokens for expected_updated_at/expected_revision on writes, that a missing id yields a 404, and that custom assets/pipelines are shared across all projects of the same owner with publish propagating to those dashboards. Those sharing and concurrency semantics are non-obvious behavior an agent could not infer from annotations.

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?

Well front-loaded and sectioned into When to use / Limitations / Examples / Output shape, with no filler prose. The redundant 'Get Asset' header line adds nothing, but the rest is dense and each section carries distinct information.

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

Completeness5/5

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

Although an output schema exists, the description still usefully flags the nested pipelines array and the token fields the caller will feed into later writes. Coverage of error behavior (404), sharing semantics, and the hand-off to get_custom_pipeline makes it complete for a two-parameter read tool.

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?

Schema description coverage is 0%, so the description must carry parameter meaning, but it only shows asset_id inside an example params block and never explains the optional nullable 'project-id' (e.g., whether it scopes the lookup or affects the shared-asset behavior). The one meaningful omission is exactly the field an agent is most likely to mis-set.

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 body states a specific verb+resource: read the current state of a single asset, returning its sub-pipeline list and draft_revision. It also explicitly names what it is not — '파이프라인의 소스·스텝 상세는 get_custom_pipeline 으로 읽는다' — so an agent can distinguish it from the sibling without opening schemas.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

A dedicated 'When to use' line gives the trigger condition (before editing, deploying, or restoring an asset), and the Limitations section routes pipeline source/step detail to get_custom_pipeline. It further instructs re-reading immediately before a write to obtain fresh expected_updated_at/expected_revision tokens.

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