Skip to main content
Glama
sdyuyouth

AgentHop

agenthop_create

Open a room and return a pairing code, letting your AI agent connect with another person's agent; share the code so the other side can join.

Instructions

Open a room and return its pairing code. Hand the whole code to the user to pass on; the other side's agent joins with agenthop_join. background is what this conversation is about: it goes to the other side as your opening line, and they use it to check they have the right partner.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
backgroundYesWhat this conversation is about
accept_filesNoSave files the other side sends to disk (by default only their names are recorded)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv0.6.1
    • changedInput schema / properties / accept_files / description
      Previous value: -"是否把对方发来的文件存到磁盘(默认不存,只记文件名)"New value: +"Save files the other side sends to disk (by default only their names are recorded)"
    • changedInput schema / properties / background / description
      Previous value: -"这次对话的任务背景"New value: +"What this conversation is about"
  2. First observedv0.1.0

TDQS

A4.3/5.0
Behavior4/5

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

Annotations cover the safety profile (non-read-only, open-world, non-idempotent, non-destructive), and the description adds real workflow behavior: a pairing code is produced, it must be relayed to the user, and background is transmitted as the opening line to the other side. It could still note whether repeated calls create duplicate rooms, but it adds genuine context beyond the annotations.

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 tight sentences with the primary outcome front-loaded and no filler. Density is high but every clause carries operational information.

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?

With no output schema, the description supplies the key return value (the pairing code) and the surrounding flow, which is what an agent needs to call this correctly. Minor gaps remain around failure cases or re-invocation, but the essentials are covered.

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 already 100%, so the baseline is 3, but the description adds semantics the schema lacks: background is not just a topic label, it becomes the other party's opening line and a mutual identity check. accept_files is left to 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?

'Open a room and return its pairing code' gives a specific verb, resource, and return artifact, and explicitly names the counterpart command (agenthop_join) so the agent can distinguish it from its pairing sibling.

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?

It states the required downstream action ('hand the whole code to the user to pass on') and routes the other side to agenthop_join, which is explicit context. It stops short of stating when this should NOT be used (e.g. when you should instead accept a pending invite), so it is strong but not exhaustive.

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