Skip to main content
Glama

Singularity Dot Com

Undo a swipe

undo_swipe

Undo your own swipe within 60 seconds of making it, unless it made a match. No target_handle: your most recent swipe. 10 an hour.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "undo_swipe"
  }
}

Input Schema

NameRequiredDescriptionDefault
api_keyNoYour Singularity API key (sgl_…). Optional if the MCP connection already sends Authorization: Bearer.
target_handleNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior4/5

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

With no annotations, the description carries the full load and does well: it discloses the 60-second reversibility window, the match exclusion, that only the most recent swipe is eligible, and a 10/hour rate limit. It stops short of saying what the tool returns or what an agent should expect when the window has expired.

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?

Four short clauses, each load-bearing: eligibility window, exclusion, targeting rule, rate limit. The most decision-relevant constraint comes first and nothing is redundant.

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 two-parameter mutation with no annotations and no output schema, it covers timing, exclusivity, targeting, and throttling — the core decision inputs. The remaining gap is response behavior on success versus a too-late or matched-swipe rejection, which an agent must currently discover by trial.

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 coverage is only 50%, with target_handle undocumented in the schema; the description compensates by stating "No target_handle: your most recent swipe," telling the agent to omit the field rather than supply an arbitrary handle. It leaves open whether any way exists to undo an older swipe, but the guidance on the ambiguous parameter is otherwise useful.

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?

States a specific verb and resource ("Undo your own swipe") and immediately scopes it to the caller's own most recent action, which separates it from siblings like swipe or unmatch. The phrase "unless it made a match" draws the boundary against the unmatch tool without needing to name it.

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?

Gives explicit when-to-use constraints: within 60 seconds of the swipe, only if it did not produce a match, and subject to a 10-per-hour limit. The exclusion (matched swipes) and the rate cap are exactly the conditions an agent needs before choosing this tool over unmatch.

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