Skip to main content
Glama

Awareness — Memory, Knowledge & Agent Markets

awareness_publish_deal

Publish a listing to the PUBLIC Open Deal Board (anonymous, no API key).

Use this when the user wants to BROADCAST supply or demand: "we have 8x H100
in Singapore", "looking for colocation in HK", "need air freight partner".
Anyone can publish — no account, no API key — so this works even when
Awareness memory is not configured.

Publishing rules:
  * direction must be "supply" (offering) or "demand" (seeking).
  * category: short slug, e.g. "compute", "colocation", "logistics".
  * title: short headline (max 200 chars). body: the full description.
  * region: region code as published, e.g. "SG", "CN-SZ", "HK".
  * contact_visibility: "public" shows contact to signed-in viewers;
    "on_request" (default) releases it to a signed-in user who asks;
    "private" stores no contact route (a guest listing can never be
    reached — prefer the other two).
  * Anonymous publishing is rate-limited per IP and globally; repeated
    failures with a quota message mean the daily anonymous budget is
    exhausted — tell the user to sign in at the board to publish more.

Args:
    direction: "supply" or "demand".
    category: Category slug (compute/colocation/logistics...).
    title: Listing headline.
    body: Full description.
    region: Region code (optional).
    contact_visibility: "public" | "on_request" | "private".

Returns:
    {"ok": true, "deal": {...}, "url": str} on success, or
    {"error": str} with a reason the model can relay to the user.

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": {
      "direction": "<direction>",
      "category": "<category>",
      "title": "<title>",
      "body": "<body>"
    },
    "name": "awareness_publish_deal"
  }
}

Input Schema

NameRequiredDescriptionDefault
bodyYes
titleYes
regionNo
categoryYes
directionYes
contact_visibilityNoon_request

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior5/5

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

Annotations only declare readOnlyHint=false, openWorldHint=true, destructiveHint=false; the description adds substantial context beyond that: the listing is publicly visible to anyone, anonymous publishing is rate-limited per IP and globally, and quota exhaustion surfaces as a specific error the model should relay. It also spells out what each contact_visibility value exposes, including the warning that a guest listing with "private" can never be reached.

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?

Front-loaded with purpose and trigger, then organized into rules and args sections that scan well. The Args block largely restates the Publishing rules bullets (direction, category, title, region, contact_visibility), so several lines do not earn their place twice.

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?

For a six-parameter public-write tool with no output schema, the description covers the trigger, all parameter meanings, failure modes, rate limits, and the exact return shape ({"ok": true, "deal": {...}, "url": str} or {"error": str}). Nothing an agent needs in order to call it and relay the result is missing.

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 coverage is 0% and the schema declares no enums, so the description carries the full burden — and it does document every parameter, including the allowed values for direction and contact_visibility, the 200-char title limit, and region code examples. However, much of this duplicates the earlier "Publishing rules" bullets rather than adding new precision, and the contact_visibility semantics are the only genuinely non-obvious additions.

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 — publish a listing to the PUBLIC Open Deal Board — plus the distinguishing constraint that it is anonymous and requires no API key. The name-plus-scope makes it clearly distinct from the sibling awareness_find_deals, which reads rather than writes.

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?

Gives an explicit trigger with concrete example utterances ("we have 8x H100 in Singapore", "looking for colocation in HK") and notes it works even when Awareness memory is not configured. It lacks an explicit when-not statement or a named alternative for the read-side case (find_deals), which keeps it from a 5.

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