Skip to main content
Glama

Set asset approval

set_asset_approval
DestructiveIdempotent

Approve or unapprove up to 1000 assets, including assets from different folders. Set approved_after only when unapproving to schedule when the assets become visible again. This controls visibility on shared and published pages and requires approval-management permission.

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>",
      "approved": "<approved>"
    },
    "name": "set_asset_approval"
  }
}

Input Schema

NameRequiredDescriptionDefault
approvedYesWhether the assets are currently approved and externally visible
asset_tokensYesAsset tokens to update
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.
approved_afterNoISO 8601 timestamp when unapproved assets become approved again

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",
      -  "approved",
      -  "context"
      -]New value: +[
      +  "asset_tokens",
      +  "approved"
      +]
  3. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Beyond the annotations (destructive, idempotent, open-world), the description discloses the real-world effect — that approval controls visibility on shared and published pages — plus the 1000-asset ceiling and the permission requirement. It stops short of saying what happens to already-approved assets or whether partial batches can fail, so it is strong but not exhaustive.

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?

Three tight sentences, front-loaded with the core action and scope, then the conditional parameter rule, then the effect and permission requirement. No filler, though the clause about assets from different folders could be folded into the batching limit without loss.

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 four-parameter mutation with no output schema, the description covers action, batch limit, side effect on published pages, auth requirement, and the conditional scheduling parameter — enough to call it correctly. Minor gaps remain around failure/partial-batch behavior and reversibility of unapproval.

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 coverage is 100%, so all four parameters are already documented, and the description's only genuine addition is the constraint that `approved_after` applies solely to the unapproving case. The remaining parameter meanings are carried by the schema, which sets the baseline at 3.

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?

"Approve or unapprove up to 1000 assets, including assets from different folders" gives a specific verb pair, the resource, and the batch scope, so the agent knows exactly what the tool mutates. It does not name or distinguish itself from the closest sibling, update_asset_status, which leaves some ambiguity for an agent choosing between the two.

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?

The description does provide conditional guidance for one parameter ("Set `approved_after` only when unapproving") and states the required approval-management permission, which is useful context before calling. However, it never says when to prefer this over sibling status/visibility tools, nor any when-not-to-use conditions.

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