Skip to main content
Glama

What SaneCode did while the user was away

sanecode_activity
Read-only

The log of what SaneCode did in a recent time window: conversations moved to another account (and why), prompts typed into an account, ones that failed and why, ones cancelled.

Use it when: the user asks "what happened overnight?", "did it continue?", "did the failover kick in?", "why did nothing happen at 7?".

Don't use it for: what's still waiting (use sanecode_list_automations); where each session stands now (use sanecode_sessions).

Returns one line per event, newest first, with its time. Free.

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": "sanecode_activity"
  }
}

Input Schema

NameRequiredDescriptionDefault
hoursNoHow far back. Default 24.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so safety is covered; the description adds value beyond that with result shape (one line per event), ordering (newest first), inclusion of timestamps, and cost ('Free'). It stops short of stating any cap on the number of lines returned, which for a 168-hour window could matter, so it falls just short of top marks.

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?

Front-loaded with the core definition, then cleanly separated into 'Use it when' and 'Don't use it for' blocks, closing with return shape and cost. Every sentence carries information an agent would act on; there is no filler.

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

Completeness5/5

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

With a single optional parameter, no output schema, and annotations covering read-only semantics, the description supplies everything else needed: what events appear, ordering, timestamps, and cost. An agent can decide to call it and interpret the result without consulting anything further.

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 single 'hours' parameter is fully documented in the schema (range 1–168, default 24), so the schema does the heavy lifting and baseline 3 applies. The description reinforces the notion of a time window but adds no new syntax or interpretation beyond what the schema states.

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 names a specific resource and scope — a log of SaneCode activity (moved conversations, typed prompts, failures, cancellations) over a recent time window. It also enumerates the event categories the log contains, so an agent knows exactly what data it returns rather than guessing from a vague 'activity' label.

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

Usage Guidelines5/5

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

Explicit routing in both directions: a 'Use it when' block with quoted user phrasings ("what happened overnight?", "did the failover kick in?") and a 'Don't use it for' block naming two siblings with the condition that selects each — sanecode_list_automations for pending work, sanecode_sessions for current state. Nothing is left to inference.

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.

Resources