Skip to main content
Glama

HTML/CSS to Image API

update_asset

Destructive

Change the display name or public access of an asset. Inspect publication_error for publication failures.

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": {
      "id": "<id>",
      "request": "<request>"
    },
    "name": "update_asset"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYes
requestYes

Output Schema

NameRequiredDescriptionDefault
itemNoOperation result. Check success before using this value.
errorNoError details when the operation failed; null on success.
successNoWhether the operation succeeded. If false, inspect error before retrying.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true, idempotentHint=false and openWorldHint=true, so the risk profile is known to the agent. The description adds genuine value by pointing at publication_error as the diagnostic for publication failures, but it does not disclose what the destructive change actually affects (e.g., that flipping asset_public changes public exposure or delivered URLs) or that non-idempotent updates may need re-fetching.

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?

Two tight sentences with the mutation scope front-loaded and the diagnostic hint second; nothing is wasted. It is arguably too terse for a destructive, non-idempotent operation, but that is a completeness issue rather than a wording one.

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?

An output schema exists, so return-value explanation is not required, and the description does tell the agent where to look for errors. For a destructive, non-idempotent mutation with a nested nullable request object at 0% schema coverage, though, the definition omits what null values mean and what side effects the visibility change has.

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%, so the description must carry the load, and it partially does by mapping the two request fields to their meaning: "display name" for name and "public access" for asset_public. However, it says nothing about the required id parameter or what a null value for either field does (clear vs. leave unchanged), which matters for a nullable nested request object.

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 states a specific verb ("Change") plus the exact mutable fields (display name, public access) on a named resource (asset), which clearly separates it from get_asset and delete_asset. It stops short of contrasting with adjacent updaters like update_og_config, but the scope is unmistakable.

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

Usage Guidelines2/5

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

There is no explicit when-to-use or when-not-to-use guidance, no prerequisites, and no naming of alternatives among the many update_* siblings. The only situational hint is the mention of publication failures, which implies usage after a publishing attempt rather than defining it.

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.