Skip to main content
Glama

Find assets

find_assets
Read-onlyIdempotent

Find media and files in a project's asset library, the same library shown in the Assets app. Pass searchTerm to search in relevance order; omit it to list the whole library, newest first, a page at a time. Returns up to 50 assets unless limit says otherwise. Use this both to answer "what assets do I have" and to locate a specific asset. For multi-step Replo work, call skills with name "replo".

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": {
      "projectId": "<projectId>"
    },
    "name": "find_assets"
  }
}

Input Schema

NameRequiredDescriptionDefault
idsNoRestrict to these asset ids.
tagsNoOnly return assets carrying all of these tags.
typeNoRestrict results to a single asset type.
labelNoOnly return assets carrying this label.
limitNoMaximum number of assets to return. Defaults to 50.
cursorNoOpaque cursor the previous page returned as its next cursor. Ignored when searchTerm is set because semantic search returns one ranked page.
statusNoRestrict to one lifecycle state: approved, draft (neither approved nor archived), or archived.
orderByNoSort order when listing (ignored when searchTerm is set). Prefix a field with '-' for descending. Defaults to -createdAt (newest first).
projectIdYesThe project whose asset library to search.
searchTermNoSearch query. When set, assets come back in relevance order (semantic, tag, and name matching) as one ranked page. Omit to list assets, sorted by orderBy.
createdAtGteNoOnly assets created at or after this ISO datetime.
createdAtLteNoOnly assets created at or before this ISO datetime.
updatedAtGteNoOnly assets updated at or after this ISO datetime.
updatedAtLteNoOnly assets updated at or before this ISO datetime.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed14 schema fields changed
    • addedInput schema / properties / createdAtGte
      Added value: +{
      +  "description": "Only assets created at or after this ISO datetime.",
      +  "format": "date-time",
      +  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
      +  "type": "string"
      +}
    • addedInput schema / properties / createdAtLte
      Added value: +{
      +  "description": "Only assets created at or before this ISO datetime.",
      +  "format": "date-time",
      +  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
      +  "type": "string"
      +}
    • changedInput schema / properties / cursor / description
      Previous value: -"Opaque cursor from next_cursor. Ignored when searchTerm is set because semantic search returns one ranked page."New value: +"Opaque cursor the previous page returned as its next cursor. Ignored when searchTerm is set because semantic search returns one ranked page."
    • addedInput schema / properties / ids
      Added value: +{
      +  "description": "Restrict to these asset ids.",
      +  "items": {
      +    "format": "uuid",
      +    "type": "string"
      +  },
      +  "maxItems": 100,
      +  "minItems": 1,
      +  "type": "array"
      +}
    • addedInput schema / properties / label / description
      Added value: +"Only return assets carrying this label."
    • addedInput schema / properties / limit / description
      Added value: +"Maximum number of assets to return. Defaults to 50."
    • addedInput schema / properties / orderBy
      Added value: +{
      +  "description": "Sort order when listing (ignored when searchTerm is set). Prefix a field with '-' for descending. Defaults to -createdAt (newest first).",
      +  "enum": [
      +    "createdAt",
      +    "-createdAt",
      +    "updatedAt",
      +    "-updatedAt",
      +    "name",
      +    "-name"
      +  ],
      +  "type": "string"
      +}
    • addedInput schema / properties / projectId / description
      Added value: +"The project whose asset library to search."
    • addedInput schema / properties / searchTerm / description
      Added value: +"Search query. When set, assets come back in relevance order (semantic, tag, and name matching) as one ranked page. Omit to list assets, sorted by orderBy."
    • changedInput schema / properties / status / description
      Previous value: -"AssetStatusFilter"New value: +"Restrict to one lifecycle state: approved, draft (neither approved nor archived), or archived."
    • addedInput schema / properties / tags / description
      Added value: +"Only return assets carrying all of these tags."
    • changedInput schema / properties / type / description
      Previous value: -"AssetType"New value: +"Restrict results to a single asset type."
    • addedInput schema / properties / updatedAtGte
      Added value: +{
      +  "description": "Only assets updated at or after this ISO datetime.",
      +  "format": "date-time",
      +  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
      +  "type": "string"
      +}
    • addedInput schema / properties / updatedAtLte
      Added value: +{
      +  "description": "Only assets updated at or before this ISO datetime.",
      +  "format": "date-time",
      +  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
      +  "type": "string"
      +}
  2. Changed1 schema field changed
    • changedInput schema / properties / searchTerm / maxLength
      Previous value: -200New value: +1000
  3. Changed2 schema fields changed
    • removedInput schema / $schema
      Removed value: -"https://json-schema.org/draft/2020-12/schema"
    • removedInput schema / properties / projectId / pattern
      Removed value: -"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
  4. Changed1 schema field changed
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
  5. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false and openWorldHint=false, so safety is covered structurally. The description still adds real context beyond that: default page size of 50, page-at-a-time paging, and default sort of newest first when no query is supplied. It stops short of saying what happens at the end of pagination or whether filters combine.

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?

Four sentences, front-loaded with the resource then the search/list dichotomy then the result-size caveat. The final sentence about calling `skills` for multi-step Replo work is a useful routing hint but is somewhat tacked on rather than integrated.

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 14-parameter read tool with no output schema, the definition covers the query-vs-list modes, page size, and ordering well enough to call correctly. What is missing is any hint at the asset shape returned (fields, next-cursor placement), which matters more here precisely because no output schema exists.

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 100% and the 14 parameters are individually documented, including the cursor/searchTerm interaction and the orderBy default. The description reinforces the searchTerm-vs-list distinction but adds no parameter meaning the schema does not already carry, so this is the expected baseline.

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 ("Find media and files in a project's asset library") and anchors it to a known surface ("the same library shown in the Assets app"), so the agent knows exactly what corpus is being queried. It also implicitly separates itself from non-asset siblings by directing multi-step Replo work to `skills` instead.

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?

Explicitly covers both modes of use: "Use this both to answer 'what assets do I have' and to locate a specific asset," and explains that passing searchTerm switches to relevance order while omitting it lists newest-first. No when-not-to-use or named alternative asset tool is given, which is the only gap.

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