Skip to main content
Glama

Result Settings

result_settings
Idempotent

Show or set how long your account keeps saved results. The default is "none": nothing is stored until you choose. Free for every account: 24h, 7d, 15d. 30d, 90d and until_deleted are part of a paid plan. With no argument, shows the current setting. A call made with _handle:true is kept for this long; it may shorten it with _retention, never lengthen it.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "result_settings"
  }
}

Input Schema

NameRequiredDescriptionDefault
retentionNoNew retention. Omit to read the current setting.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • removedInput schema / examples
      Removed value: -[
      -  {
      -    "retention": "7d"
      -  }
      -]
  2. Added

TDQS

A4/5.0
Behavior4/5

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

Annotations only declare readOnly=false, idempotent=true, destructive=false; the description adds real behavioral context on top: the default is 'none' so nothing is stored until chosen, several values are gated behind a paid plan, and a call made with _handle:true is capped by this retention and may be shortened by _retention but never lengthened. It does not say what happens to already-stored results when retention is lowered retroactively, which is the main open behavioral question.

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?

Front-loaded with the purpose, then tiers, then the read-mode rule, then the _retention interaction — a sensible ordering with little waste. The nested quote around 'none' and the run-on final sentence slightly reduce readability but do not obscure meaning.

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 single-optional-parameter setting tool with no output schema, the description covers the essentials: read vs. write, valid value tiers, default state, and the downstream effect on _handle retention. It does not describe what the read mode returns, though with no output schema that omission is minor.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100% and the enum already lists valid values, so the schema carries the baseline. The description still adds genuine meaning: the default is 'none', and the values split into a free tier (24h, 7d, 15d) and a paid tier (30d, 90d, until_deleted), plus the omit-to-read behavior.

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 concrete verb pair and resource: 'Show or set how long your account keeps saved results.' This is clearly an account-level retention setting rather than a per-result operation, which distinguishes it in spirit from result_get/result_list/result_delete. It stops short of naming those siblings explicitly, so the differentiation is inferred rather than stated.

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 explicit mode selection: 'With no argument, shows the current setting,' which tells the agent exactly when this acts as a read vs. a write. It also flags which values are free vs. paid, which shapes whether a call is viable for a given account. No exclusions toward alternative tools are offered, keeping it short of 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.