Skip to main content
Glama

List Script Assets

list_script_assets
Read-onlyIdempotent

List the files attached to a script (request bodies, upload files, Playwright support files). Each path is the key a command references.

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>",
      "scriptId": "<scriptId>"
    },
    "name": "list_script_assets"
  }
}

Input Schema

NameRequiredDescriptionDefault
scriptIdYes
projectIdYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / $schema
      Added value: +"https://json-schema.org/draft/2020-12/schema"
  2. First observed

TDQS

B3.3/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false and a closed-world hint, so the safety profile is covered elsewhere. The description adds genuinely new behavioral context by explaining that each returned path is the key a command references, but says nothing about ordering, pagination, or behavior when the script has no assets.

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

Conciseness5/5

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

Two tight sentences, front-loaded with the action and the asset inventory, followed by one high-value clarification about what a returned path means. Nothing is redundant or padded.

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 a simple annotated read tool with no output schema, the description covers purpose and the meaning of returned values, which is the main return-format concern. The gap is the two undocumented required identifiers, which are not clarified by either schema or description.

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% and both required parameters (projectId, scriptId) are bare strings, so the description must compensate — but it only obliquely implies that a script is identified, and says nothing about projectId's role or the relationship between the two identifiers. An agent can guess, but the semantics are not stated anywhere.

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 description names a specific verb and resource ("List the files attached to a script") and enumerates concrete asset kinds (request bodies, upload files, Playwright support files), which is far more than a restatement of the name. It stops short of differentiating itself from the sibling get_script_asset / delete_script_asset, so it is clear but not sibling-aware.

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

Usage Guidelines3/5

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

Usage is implied by the phrasing: this is the bulk-listing counterpart to fetching a single asset, and the second sentence hints the results are meant to feed command path references. There is no explicit when-to-use/when-not statement, no mention of the sibling get_script_asset for single lookups, and no prerequisites about the script existing.

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.