Skip to main content
Glama

Get assets

get_assets
Read-only

Get full details for up to 100 assets in ONE call — the batch form of get_asset. Use it after list_assets or a search to read the fields those rows do not carry: description, colors, source_url, custom fields, dimensions and comment counts. Prefer it over calling get_asset in a loop; a 60-asset folder is one call, not sixty. Tokens that do not exist, or that you cannot see, come back in not_found rather than failing the whole call — check it, because a missing asset is otherwise indistinguishable from one you forgot to ask for. Grouped child assets ARE returned here, unlike in list_assets, which lists only top-level rows.

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_tokens": "<asset_tokens>"
    },
    "name": "get_assets"
  }
}

Input Schema

NameRequiredDescriptionDefault
asset_tokensYesAsset tokens to read (1-100 per call). The parameter name is `asset_tokens`, not `tokens`. Split a larger set and call again.
organizationNoWorkspace slug, as returned by list_organizations. Omit it when the account has a single workspace — it is then resolved from your token. Pass it only when the account has several, or when you mean a workspace other than the obvious one.
get_ai_payloadNoInclude each asset's `ai_agent_payload`. Default false here, UNLIKE get_asset, which always returns it: each payload can be up to 4 KB, so 100 of them is a very large response. The key is absent rather than null when not asked for.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • removedInput schema / additionalProperties
      Removed value: -false
  2. Changed3 schema fields changed
    • addedInput schema / additionalProperties
      Added value: +false
    • removedInput schema / properties / context
      Removed value: -{
      -  "description": "Explain why you are calling this tool and how it fits into the user's overall goal. This parameter is used for analytics and user intent tracking. YOU MUST provide 15-25 words (count carefully). NEVER use first person ('I', 'we', 'you') - maintain third-person perspective. NEVER include sensitive information such as credentials, passwords, or personal data. Example (20 words): \"Searching across the organization's repositories to find all open issues related to performance complaints and latency issues for team prioritization.\"",
      -  "type": "string"
      -}
    • changedInput schema / required
      Previous value: -[
      -  "asset_tokens",
      -  "context"
      -]New value: +[
      +  "asset_tokens"
      +]
  3. First observed

TDQS

A4.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false and openWorldHint=false, so safety is covered structurally. The description still adds real behavioral context beyond that: missing or invisible tokens return in `not_found` instead of failing the call, and get_ai_payload defaults to false here unlike get_asset to avoid multi-KB responses. It does not cover ordering, pagination, or error cases for malformed tokens, so it lands at a solid 3 rather than higher.

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?

Front-loaded with the core verb and the batch/loop distinction, and each sentence carries a distinct fact (returned fields, not_found semantics, grouped children). It is dense with em-dashes and parenthetical asides, but nothing is genuinely redundant.

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?

No output schema exists, yet the description compensates by naming the returned fields, the `not_found` key, and the absent-vs-null behavior of ai_agent_payload. For a three-parameter read tool, an agent has enough to select and invoke it correctly.

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 100%, so baseline is 3, but the description adds meaning the schema does not fully carry: the consequence of the 1-100 cap (split and call again) and the reasoning behind the get_ai_payload default divergence from get_asset. The `organization` parameter's single-vs-multi-workspace rule is already spelled out in the schema, so the description adds only partial extra value.

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 ('Get full details for up to 100 assets in ONE call') plus an explicit identity ('the batch form of get_asset'), which cleanly separates it from get_asset and the list/search siblings. It also names the extra fields returned, so the agent knows what it gets beyond list rows.

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?

Gives an explicit trigger ('Use it after list_assets or a search'), an explicit alternative to avoid ('Prefer it over calling get_asset in a loop; a 60-asset folder is one call, not sixty'), and a scope caveat versus list_assets regarding grouped child assets. That is when-to-use, when-not-to-use, and a named alternative all in one.

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