Skip to main content
Glama
zzhang82

Agent Memory Bridge

claim_signal

Claim a pending signal with a short lease to coordinate work among workers, ensuring one worker takes ownership before acting.

Instructions

Claim one signal with a short lease for lightweight work coordination.

Use this when a worker should take ownership of a pending signal before it acts. If signal_id is omitted, the bridge claims the next eligible signal in the namespace that matches the optional filters, with a small fairness bias inside the oldest pending window so one polling consumer does not keep winning by accident.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
namespaceYesNamespace that holds the coordination events to claim, such as `project:<workspace>`.
consumerYesStable worker or agent identifier that will own the lease, for example `reviewer-a` or `worker:planner`.
lease_secondsNoHow long the claim lease should last before another consumer can reclaim the signal.
signal_idNoOptional exact signal id to claim. Leave empty to claim the next eligible signal.
tags_anyNoOptional OR-style tag filter used to narrow which pending signals are claimable.
correlation_idNoOptional workflow correlation id used to claim signals from one handoff thread.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior4/5

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

With no annotations, the description fully carries the burden. It discloses the short lease, fairness bias for polling consumers, and optional filters. However, it omits failure scenarios or concurrency limits.

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?

The description is 4 sentences, well-structured, and front-loaded with the core purpose. Every sentence adds value without redundancy.

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?

Given the complexity (6 params, output schema exists), the description covers core behavior and fairness bias. It does not mention return values, but an output schema exists. Lacks mention of lease extension or acknowledgment requirements.

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 input schema has 100% description coverage, so the baseline is 3. The description adds context like 'short lease' for lease_seconds and 'lightweight work coordination' for overall purpose, but does not significantly enhance parameter understanding beyond the schema.

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 clearly states 'Claim one signal with a short lease for lightweight work coordination.' It uses a specific verb (claim) and resource (signal), and distinguishes itself from siblings like ack_signal and extend_signal_lease by focusing on ownership acquisition.

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

Usage Guidelines4/5

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

The description explicitly says 'Use this when a worker should take ownership of a pending signal before it acts.' It also explains the behavior when signal_id is omitted. However, it does not provide explicit when-not scenarios or alternatives.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/zzhang82/Agent-Memory-Bridge'

If you have feedback or need assistance with the MCP directory API, please join our Discord server