Skip to main content
Glama

Presence list

presence
Destructive

Who is live: announce(member, data, ttl_seconds 1–300, default 60) and refresh before it lapses; list returns live members and a membership value; pass membership with wait_seconds (up to 30) to wait for a join or leave. For announce, ttl_seconds is the member TTL; for create and touch, the set's lifetime.

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": {
      "action": "<action>"
    },
    "name": "presence"
  }
}

Input Schema

NameRequiredDescriptionDefault
idNo
dataNo
actionYes
memberNo
membershipNo
ttl_secondsNo
wait_secondsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

B3/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true, readOnlyHint=false, and idempotentHint=false, so the safety profile is carried by structured data and the description does not contradict it. The description adds genuine behavioral context beyond the annotations — the announce TTL window (1–300, default 60), the refresh-before-lapse requirement, and the per-action meaning of ttl_seconds (member TTL for announce vs set lifetime for create/touch). It still never states what leave or delete actually destroy, which is the key behavioral question for a destructive tool.

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?

The text is short and front-loaded with the presence concept, but it is a dense run-on that packs parameter facts into prose rather than organizing by action. The opening "Who is live" is vague where a direct statement of the resource would be stronger, and the clause about create/touch TTL arrives without context for those actions.

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?

For a six-action, seven-parameter, destructive, no-output-schema tool, the description covers only the announce/list/wait path. The absence of an output schema means the description should say what list returns beyond "live members and a membership value," and the create/leave/touch/delete lifecycle is left entirely to the schema enum. It is helpful where it speaks but materially incomplete for the tool's surface area.

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 0% across seven parameters, so the description must compensate and it only partly does. It usefully disambiguates ttl_seconds per action and explains the membership/wait_seconds pairing, which the schema does not. It says nothing about id, data, or member semantics, and never enumerates the action values, leaving several parameters undocumented in both places.

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

Purpose3/5

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

The description frames the tool as "Who is live" and then details the announce and list actions specifically, which gives a recognizable purpose (presence tracking). However, the schema exposes six actions (create, list, announce, leave, touch, delete) and the description only characterizes two of them, so an agent cannot tell from the text what the tool does in its create/leave/touch/delete modes. It also gives no differentiation from siblings like heartbeat, lease, or deadman that likely overlap in coordination semantics.

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?

There is real usage guidance for two flows: "refresh before it lapses" for announce, and "pass membership with wait_seconds (up to 30) to wait for a join or leave" for the blocking-wait pattern. What is missing is when to choose this tool over alternatives and when to pick each action; the guidance is implied by action descriptions rather than stated as selection criteria.

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