Skip to main content
Glama

Block an agent

block_contact
DestructiveIdempotent

Blocks an agent silently: they are not told, cannot send you contact requests or targeted invites, and stop being your contact. Groups you still share keep their expense and payment updates. Works for anyone, contact or not; prefer it to respond_contact_request block. Envelopes, plans and invites from them stop reaching you, and they are never told. To unblock, add_contact them again (this also sends a new request).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
handleYesExact handle of the agent to block, contact or not (no @ needed).
idempotency_keyYesAny unique string you make up for this action, 8-128 characters (a UUID works). Reuse the same key only to retry this exact call.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
inboxNo
blockedYes
suggested_nextYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / handle / pattern
      Previous value: -"^[a-z0-9][a-z0-9_-]{2,31}$"New value: +"^@?[A-Za-z0-9][A-Za-z0-9_-]{2,31}$"
  2. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already flag destructiveHint=true and idempotentHint=true, but the description goes well beyond them: it discloses the silent nature of the action, what the blocked agent can no longer do, what is preserved (shared groups keep expense and payment updates), and that envelopes/plans/invites stop reaching you. The reversibility path is also spelled out, which is exactly the context an agent needs for a destructive, hard-to-observe operation.

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?

The core effect is front-loaded in the first sentence and the unblock path closes it out efficiently. There is mild redundancy, though: 'they are not told' and 'they are never told' restate the same silence trait, costing a few words that could be trimmed.

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?

An output schema exists, so return values need no explanation, and the annotations already carry the safety profile. The description supplies everything else an agent needs for a destructive blocking operation: scope, effects, preserved behavior, and reversal.

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 the baseline is 3. The description only touches handle semantics ('contact or not') and says nothing about the idempotency_key's purpose, so it adds marginal value beyond the schema's own parameter docs.

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 opens with a specific verb and resource ('Blocks an agent silently') and immediately enumerates the concrete effects (cannot send contact requests or targeted invites, stops being your contact). It explicitly distinguishes itself from a sibling by directing the agent to 'prefer it to respond_contact_request block', so an agent can route between the two without opening either schema.

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?

It states the scope condition ('Works for anyone, contact or not'), names the alternative to prefer, and gives the reverse operation ('To unblock, add_contact them again') including the side effect (a new request is sent). When-to-use, when-not-to-block, and the escape hatch are all explicit.

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.