Skip to main content
Glama

cache_propose_tool_ttl_adjust

Propose a TTL adjustment for a specific tool in an agent cache for review. Requires human approval to activate.

Instructions

Propose an agent-cache per-tool TTL change for review. Creates a pending proposal that requires human approval. Reasoning must be at least 20 characters.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
cache_nameYesName of the agent cache (e.g. 'betterdb_agentcache_prod')
tool_nameYesTool whose TTL is being changed
new_ttl_secondsYesProposed TTL in seconds (10–86400)
reasoningYesWhy the change is being proposed (≥20 chars)
instanceIdNoConnection ID; defaults to the active instance
Behavior3/5

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

No annotations are provided, so the description bears full responsibility. It reveals that the tool creates a pending proposal requiring human approval and enforces a 20-character reasoning minimum. However, it omits details on the proposal lifecycle, side effects, or error cases, leaving gaps for a mutation tool.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two efficient sentences convey purpose and a key constraint. No fluff; every word earns its place.

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?

Given no output schema, no annotations, and 5 parameters, the description is somewhat incomplete. It lacks explanation of return values (e.g., proposal ID), how to track or approve the proposal, and the role of instanceId. More context would improve usability.

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?

The input schema covers 100% of parameters with descriptions. The description adds no new parameter info beyond restating the reasoning length constraint already in the schema. Baseline 3 is appropriate.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool's purpose: proposing a per-tool TTL change for review, creating a pending proposal requiring human approval. It distinguishes itself from sibling propose tools (invalidate, threshold_adjust) by specifying 'TTL change'.

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 implies usage for proposing TTL adjustments, but doesn't provide explicit when-to-use or alternatives. The context of sibling tools suggests differentiation by proposal type, but no direct guidance on when to choose this over others.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/BetterDB-inc/monitor'

If you have feedback or need assistance with the MCP directory API, please join our Discord server