Skip to main content
Glama
OktoLabsAI

okto-nexus

by OktoLabsAI

session_heartbeat

Advance the heartbeat to report derived status, keeping the session present in the broadcast audience and safe from stale-session reaping.

Instructions

Advance a session heartbeat and report the derived status; keeps you PRESENT (in the broadcast audience) and clear of the stale-session reaper.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
session_idYesThe session_id returned by session_open. REQUIRED.
workspace_idNoWorkspace_id scope guard (optional); when given it must match the session's workspace.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.10

TDQS

A3.8/5.0
Behavior4/5

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

No annotations are provided, so the description carries the full burden, and it does disclose real behavioral traits: membership in the broadcast audience and eviction avoidance via the stale-session reaper. It omits failure behavior (e.g., what happens if the session is already reaped or expired), leaving a gap for a no-annotation 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?

A single front-loaded sentence with a semicolon-delimited elaboration; every clause earns its place and nothing is repeated from the schema.

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

Completeness4/5

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

With an output schema present, the description needn't explain return values, and it correctly references the derived status. The only shortfall is the absence of any guidance on heartbeat cadence or on error/expired-session outcomes.

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%, so both session_id and workspace_id are already documented in the schema (including the workspace scope-guard rule). The description adds no parameter-level meaning beyond that, making the baseline 3 correct.

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?

States a specific verb+resource ('Advance a session heartbeat') and its effect ('report the derived status'), which cleanly separates it from session_open/session_close in the sibling list. It doesn't explicitly name those siblings, so it stops just short of a 5.

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?

The clause 'keeps you PRESENT ... and clear of the stale-session reaper' implies when to call it (to stay alive), but there is no explicit when/when-not guidance or cadence/frequency instruction. Usage must be inferred rather than read.

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