Skip to main content
Glama

agp_ask

Send a structured request to a peer and wait in one call for the correlated reply; if that peer cannot auto-receive, return immediately with remediation advice instead of waiting blindly.

Instructions

Send a structured request to a peer AND wait in ONE tool call for the correlated reply (correlation_id). Includes an anti-token-burn guard: if the recipient cannot auto-receive (will_auto_receive=false), returns immediately in 0ms with remediation advice instead of waiting blindly.

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": {
      "to_uri": "<to_uri>",
      "summary": "<summary>"
    },
    "name": "agp_ask"
  }
}

Input Schema

NameRequiredDescriptionDefault
typeNotask.request
to_uriYesRecipient AGP URI, @handle, or conversation_id.
payloadNoStructured payload (for task.request, goal defaults to summary if omitted).
summaryYes
from_uriNo
priorityNohigh
artifactsNo
wake_modeNoauto
wait_timeout_secNoMax seconds (1-120) to wait when target can auto-receive.
verbatim_constraintsNo
fail_fast_if_unreachableNoReturn immediately instead of waiting if target is idle without listener/auto_cli.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.1.0

TDQS

B3.4/5.0
Behavior4/5

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

Annotations only declare the safe-mutation profile, so the description must carry the rest, and it does: it discloses the blocking wait, the correlated-reply contract, and a fail-fast guard that returns in 0ms with remediation when the peer cannot auto-receive. It stops short of describing timeout resolution or what the returned reply contains.

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 sentences, front-loaded with the core send-and-wait behavior, then the guard as supporting detail. The parenthetical identifiers are terse and useful rather than filler; only minor tightening is possible.

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

Completeness3/5

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

For an 11-parameter, nested-payload, non-idempotent tool with no output schema, the description explains the behavioral core but leaves the return payload, timeout semantics, and most parameter meanings undocumented. An agent could invoke it, but only with guesswork on the optional fields.

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 36% across 11 parameters, so the description should compensate, but it explains none of them. It references correlation_id and will_auto_receive, neither of which is an input parameter, while priority, wake_mode, artifacts, verbatim_constraints, from_uri and the type enum go unmentioned.

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?

The description states a specific compound action: send a structured request to a peer and wait for the correlated reply in one call. That clearly separates it from a fire-and-forget send, though it never names agp_send or any sibling as the explicit alternative.

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?

The one-call send-and-wait framing implies when to use it (when you need a reply), and the anti-token-burn guard implies when it bails out. But there is no explicit "use this instead of X" routing and no stated preconditions such as registration or reachability requirements.

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