Skip to main content
Glama

cache_propose_threshold_adjust

Propose a change to the similarity threshold for a semantic cache. Submit your reasoning and new threshold value to create a pending proposal for review.

Instructions

Propose a semantic-cache similarity-threshold change for review. Creates a pending proposal that requires human approval before any change is applied. Reasoning must be at least 20 characters.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
cache_nameYesName of the semantic cache (e.g. 'betterdb_scache_prod')
new_thresholdYesProposed cosine-distance threshold, 0–2
categoryNoOptional per-category override; null/undefined = global threshold
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?

Description reveals key behaviors: creates a pending proposal, requires human approval, and reasoning length constraint. However, it omits details like whether proposals are unique per cache, what happens if a proposal already exists, or any authentication/permission requirements. With no annotations, the description carries the full burden and could be more thorough.

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 sentences, no unnecessary words. First sentence states purpose, second adds process constraint. Efficient and front-loaded.

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 5 parameters, no output schema, and many sibling tools, the description provides basic context about the proposal workflow. However, it lacks information about what the tool returns (e.g., proposal ID) and how to use it in conjunction with other proposal tools. Could be more complete.

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?

Input schema already provides descriptions for all 5 parameters (100% coverage). The description only reiterates the reasoning length constraint, adding no new meaning beyond what the schema offers. Baseline score of 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?

Description clearly states the action (propose), the resource (semantic-cache similarity-threshold), and the workflow context (pending proposal, requires human approval). Distinguishes from siblings like cache_propose_invalidate or cache_edit_and_approve_proposal.

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?

Description implies the tool is for proposing changes that need review, but it does not explicitly state when to use it versus alternatives (e.g., direct edit or invalidate proposal). No guidance on when not to use it.

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