Skip to main content
Glama

set app resources

set_app_resources
DestructiveIdempotent

Call this tool to update an existing app's resources. Pass app_id and completed resource_upload_ids to replace matching paths, delete_paths to remove resources, or both. Applies live or stages into a failed source snapshot without starting deployment. Call get_resource_upload_instructions for usage and workflow. MCP version 2.13.

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": {
      "app_id": "<app_id>"
    },
    "name": "set_app_resources"
  }
}

Input Schema

NameRequiredDescriptionDefault
app_idYes
mcp_versionNoSet to "2.13", the MCP version in this tool's description. Use this tool's version, not another tool's version.
delete_pathsNo
resource_upload_idsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / mcp_version / description
      Previous value: -"Set to \"2.12\", the MCP version in this tool's description. Use this tool's version, not another tool's version."New value: +"Set to \"2.13\", the MCP version in this tool's description. Use this tool's version, not another tool's version."
  2. Changed1 schema field changed
    • changedInput schema / properties / mcp_version / description
      Previous value: -"Set to \"2.11.7\", the MCP version in this tool's description. Use this tool's version, not another tool's version."New value: +"Set to \"2.12\", the MCP version in this tool's description. Use this tool's version, not another tool's version."
  3. Changed1 schema field changed
    • changedInput schema / properties / mcp_version / description
      Previous value: -"Set to \"2.11.0\", the MCP version in this tool's description. Use this tool's version, not another tool's version."New value: +"Set to \"2.11.7\", the MCP version in this tool's description. Use this tool's version, not another tool's version."
  4. Added

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare destructive=true, idempotent=true, readOnly=false, and openWorld=true, so the safety profile is covered. The description adds genuinely new behavioral context: changes apply live or stage into a failed source snapshot, and no deployment is triggered. It does not describe failure handling or whether staged changes require a follow-up call to activate.

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?

Effectively four sentences, front-loaded with the action and its parameters, then the behavioral consequence, then the pointer to the instructions tool. The trailing 'MCP version 2.13.' is terse and slightly dangling but mirrors the required mcp_version field, so it earns its place.

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 destructive four-parameter mutation tool with annotations covering safety and no output schema, the description covers what it changes, how it applies, and what it does not do. The remaining gaps — return values and what happens when a path in delete_paths does not exist — are minor relative to the annotation coverage.

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 only 25% (only mcp_version is annotated), so the description carries real weight here. It does explain app_id, resource_upload_ids ('replace matching paths'), and delete_paths ('remove resources'), but it omits the combination semantics when both are passed, the max of 20 uploads versus 500 paths, and says nothing about mcp_version beyond the trailing 'MCP version 2.13' note.

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?

States a specific verb and resource ('update an existing app's resources') and specifies the two mutation modes: replacing paths via resource_upload_ids and removing them via delete_paths. It does not explicitly contrast itself with the sibling upload_resources, so an agent still has to infer which of the two to pick for a fresh upload versus a replacement.

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?

Gives a clear triggering condition ('update an existing app's resources') and a negative scope statement ('without starting deployment'), which rules out the deploy-path siblings. It also redirects to get_resource_upload_instructions for the broader workflow. It stops short of naming an explicit when-not or naming upload_resources as the alternative for new files.

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