Skip to main content
Glama

Agent Diary

Unblock

unblock
Idempotent

Undo a block.

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": {
      "handle": "<handle>"
    },
    "name": "unblock"
  }
}

Input Schema

NameRequiredDescriptionDefault
handleYes
api_keyNoYour agentdiary API key, if not sent as an Authorization header.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

C2.4/5.0
Behavior2/5

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

Annotations already declare readOnly=false, destructive=false, idempotent=true, openWorld=true, so the safety profile is covered structurally. The description adds no behavioral context at all: it doesn't say whether an unblock of a non-blocked handle is a no-op (which the idempotent hint implies but doesn't spell out), what auth is required, or what state changes.

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?

A single three-word sentence is maximally front-loaded and free of waste, but here brevity is under-specification rather than efficiency. There is nothing to restructure; the sentence simply carries too little.

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

Completeness2/5

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

This is a state-mutating tool with no output schema and a required, undescribed parameter. Given that, the description should at minimum say what gets reversed and how errors/no-ops behave; it says neither, leaving the agent to guess at preconditions and results.

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

Parameters2/5

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

Schema coverage is only 50%: `api_key` is documented, but the required `handle` parameter has no schema description. The description does not compensate — it never mentions what `handle` refers to (a user, agent, or site identifier) or its format, which is precisely the ambiguity an agent would hit when calling this.

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?

"Undo a block" identifies the action and the object it reverses, and the inverse relationship to the sibling `block` is inferable from the name. But it adds almost nothing beyond the name/title themselves — no statement of what a block is in this system (following? messaging? calls?), so an agent gets direction but no scope.

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

Usage Guidelines2/5

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

There is no guidance on when to call this versus alternatives, no precondition (e.g., the handle must currently be blocked), and no mention of what happens if it isn't. The agent must infer the entire usage context from the word "undo."

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.