Skip to main content
Glama

Barrier

barrier
Destructive

Rendezvous: releases once parties distinct members have arrived. arrive(member, wait_seconds up to 30) reports released true or false; arriving twice counts once. Single use.

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

Input Schema

NameRequiredDescriptionDefault
idNo
actionYes
memberNo
partiesNo
ttl_secondsNo
wait_secondsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already flag destructiveHint=true, idempotentHint=false and readOnlyHint=false; the description adds useful context beyond them: single-use lifetime, deduplication of duplicate arrivals, and a blocking wait capped at 30 seconds with a returned released flag. It does not disclose what delete destroys, whether create requires `parties`, or how ttl_seconds affects a barrier caught partway.

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

Conciseness4/5

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

Two short sentences plus a fragment, front-loaded with the core mechanic and followed by the call signature and constraints. Nothing is padding, though the inline line break and terse 'Single use.' fragment are slightly less scannable than they could be.

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?

For a six-parameter, no-output-schema tool, the description covers the primary workflow, its return value ('reports released true or false') and the lifetime constraint. Gaps remain for the non-arrive actions and the `id`/`ttl_seconds` parameters, but the essential calling path is explained.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description must carry parameter meaning, and it does for the core ones: `parties` is the count of distinct members required, `member` is the arriving identity, and `wait_seconds` is a bounded (≤30) blocking wait. It adds no meaning for `id` or `ttl_seconds`, leaving two of six parameters undocumented anywhere.

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 concrete verb+resource: a rendezvous point that releases once `parties` distinct members arrive. An agent can tell this is a multi-party synchronization primitive, though it never explicitly contrasts itself with the sibling `semaphore`, so sibling differentiation is left implicit.

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?

Gives real usage detail for the flow ('arrive(member, wait_seconds up to 30)', 'arriving twice counts once', 'Single use'), which implies the expected join-then-arrive pattern. However it never says when to choose this over `semaphore`, nor does it explain when to use the create/read/delete actions, so guidance is only partial.

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