Skip to main content
Glama

gaussdbfornosql__ShowRedisHotKeys

Retrieves hot keys for a Redis instance by instance ID and project ID, helping identify frequently accessed keys that can impact performance.

Instructions

[GAUSSDBFORNOSQL] 支持查询Redis实例的热key。

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": {
      "instance_id": "<instance_id>",
      "project_id": "<project_id>"
    },
    "name": "gaussdbfornosql__ShowRedisHotKeys"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo查询数据的上限值。
offsetNo索引位置偏移量,表示从指定offset条数据后查询对应的实例信息。
project_idYes租户在某一region下的project ID。
instance_idYes实例ID。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full disclosure burden, and it says nothing about permissions/authentication requirements, whether the call is read-only and side-effect-free, how results are paged, or what a "hot key" record contains. The single sentence only re-states the resource, leaving the agent without behavioral context for a diagnostic API that could return large result sets.

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?

A single front-loaded sentence with no filler and no redundancy. It is efficient, though its brevity tips into under-specification rather than being a model of structured presentation.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With no annotations and no output schema, the description is the only place where behavior and return content could be conveyed, and it conveys neither. For a read-only diagnostic tool taking an instance plus pagination parameters, an agent still cannot tell what fields come back (key name, hit count, QPS window) or how hotness is measured.

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%, with all four parameters (instance_id, project_id, limit, offset) documented in the schema itself, so the baseline of 3 applies. The description adds no meaning beyond the schema — it does not explain the pagination semantics for hot-key results or suggest sensible limit values.

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?

"查询Redis实例的热key" names a specific verb (query) and a specific resource (hot keys of a Redis instance), so an agent knows exactly what the tool returns in category terms. It does not, however, distinguish itself from the closely related sibling gaussdbfornosql__ShowRedisBigKeys (big keys vs. hot keys), which is the main differentiation risk here.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The only usage signal is the word 查询, implying a diagnostic read. There is no statement of when an agent should choose hot-key analysis over big-key analysis, no prerequisite conditions (instance state, permissions), and no exclusions. An agent must infer the selection scenario from the tool name alone.

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

Deploy Server

Other Tools