Skip to main content
Glama

lts__ShowCursorByTime

Retrieves the LTS cursor position for a log stream at a given start timestamp in nanoseconds using project, log group, shard, and stream IDs.

Instructions

[LTS] 通过时间查询cursor

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": {
      "from": "<from>",
      "group_id": "<group_id>",
      "project_id": "<project_id>",
      "shard_id": "<shard_id>",
      "stream_id": "<stream_id>"
    },
    "name": "lts__ShowCursorByTime"
  }
}

Input Schema

NameRequiredDescriptionDefault
fromYes起始时间戳,时间单位为纳秒
group_idYes日志组ID,获取方式请参见:获取项目ID,获取账号ID,日志组ID、日志流ID。
shard_idYesShrad ID
stream_idYes日志流ID,获取方式请参见:获取项目ID,获取账号ID,日志组ID、日志流ID
project_idYes项目ID,获取方式请参见:获取项目ID,获取账号ID,日志组ID、日志流ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.3/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 burden, yet it discloses nothing beyond the verb. It does not say whether the call is read-only (only implicitly via "Show"), what a returned cursor looks like or is used for, whether pagination or a time window is involved, or what happens if no cursor exists at the given timestamp.

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

Conciseness3/5

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

It is a single short sentence with no wasted words, but it is terse to the point of under-specification — only three words of substance for a tool with five required path/query parameters.

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 five required parameters, no output schema, and no annotations, the definition needs to explain what a cursor is in this context, what the response contains, and how it relates to the near-identical sibling tool. None of that is present, leaving the agent to guess at the tool's role in a log-query workflow.

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% and each of the five required parameters (from, group_id, project_id, shard_id, stream_id) is documented in the schema, including the nanosecond unit for `from`. The description adds no meaning beyond the schema, so the baseline 3 applies.

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

Purpose2/5

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

"[LTS] 通过时间查询cursor" essentially restates the tool name ShowCursorByTime — query a cursor by time. It gives no resource context (what a cursor represents here, which LTS resource it belongs to) and does not distinguish it from the sibling lts__ShowCursorTime, whose name suggests nearly identical behavior.

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?

There is no when-to-use guidance, no prerequisites, and no mention of when this should be preferred over lts__ShowCursorTime or any other cursor/log-query sibling. The agent is left to infer usage entirely from the name.

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