Skip to main content
Glama

Turn Zero Cloud for Backend & Hosting

Set log retention

tzcloud_set_log_retention
DestructiveIdempotent

Turn your application's longer log retention on or off. The account owner must have requested or agreed to turning this option on or off. If their choice is missing and nobody can answer, leave it unchanged and report. Turning it on charges for the days left in the calendar month, including today. A repeat charges nothing. Turning it off gives nothing back. The next retention run deletes entries older than seven days. Turning it on again cannot restore them. The answer's log_retention_days is the recorded state. Nothing continues in the background for this act.

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": {
      "application": "<application>",
      "days": "<days>"
    },
    "name": "tzcloud_set_log_retention"
  }
}

Input Schema

NameRequiredDescriptionDefault
daysYes30 turns longer log retention on; 7 turns it off. Turning off lets the next retention run delete older entries permanently.
applicationYesYour account's application `id` from `tzcloud_list_applications`, not its name or label.

Schema Changelog

Changes observed during successful MCP inspections.

No schema history has been recorded yet.

TDQS

A4.1/5.0
Behavior5/5

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

Annotations already flag destructiveHint=true and idempotentHint=true, and the description corroborates and enriches them: repeat charges cost nothing (idempotency), turning off returns nothing, and the next retention run permanently deletes entries older than seven days with no restore path. It also discloses billing semantics (charges cover days left in the calendar month, including today) and that nothing runs in the background, which annotations cannot convey.

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?

The core action is front-loaded in the first sentence and every subsequent sentence carries a distinct fact (prerequisite, billing, irreversibility, return value). The prose is choppy and could be grouped more tightly around cost versus destruction, but nothing is genuinely redundant.

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 two-parameter mutation with no output schema, the description covers the important ground: consent prerequisite, cost behavior, irreversible deletion, and what the returned `log_retention_days` represents. Only minor gaps remain, such as how to detect and recover from a failed or partial change.

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%, so the schema already explains that 30 turns retention on and 7 turns it off. The description adds the financial consequence of choosing 30, but says nothing new about the application identifier beyond what the schema states. Baseline 3 is appropriate when the schema does the heavy lifting.

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 first sentence gives a specific verb and resource: toggling the application's longer log retention on or off. That is unambiguous and clearly distinct from the sizing, deploy, and secret-management siblings. It stops short of naming any related tool, but the resource itself is unique enough that confusion is unlikely.

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?

The description states a real prerequisite: the account owner must have requested or agreed to the change, and if their choice is missing and unresolvable, the agent should leave the setting unchanged and report. That is meaningful when-to-act and when-not-to-act guidance. There are no named alternatives, which keeps it below a 5.

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