Skip to main content
Glama

Set availability and offer rules

set_availability_and_rules

Sets whether the trade is taking offers, with optional auto-accept rules (categories, distance, budget, urgency, pricing path). Auto-accept does not change the trade's place in the queue.

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": {
      "available": "<available>"
    },
    "name": "set_availability_and_rules"
  }
}

Input Schema

NameRequiredDescriptionDefault
nonceNo
availableYes
signatureNo
signed_atNo
auto_acceptNo
emergency_floor_minorNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.1/5.0
Behavior3/5

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

Annotations declare a non-read-only, non-destructive, non-idempotent, closed-world write. The description adds one genuinely useful behavioral fact: auto-accept does not change the trade's queue position. It says nothing about the signature/nonce requirements implied by the schema, what happens to already-pending offers when availability is turned off, or the emergency floor's effect.

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, front-loaded with the primary action and followed by the notable side-effect caveat. Nothing is redundant, though the parenthetical list is slightly telegraphic.

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?

For a mutation tool with a nested configuration object, zero schema descriptions, no output schema, and only sparse annotations, the definition leaves too much unstated: the signed-request parameters, the emergency floor, and the effect on in-flight offers are all absent.

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 description coverage is 0% with 6 parameters including a nested auto_accept object of eight fields. The description names five of those nested fields (categories, distance, budget, urgency, pricing path) but leaves enabled, nonce, signature, signed_at, and emergency_floor_minor unexplained, so it only partially compensates for the coverage gap.

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?

States a specific verb+resource: setting whether the trade is taking offers and configuring auto-accept rules. This distinguishes it from offer-handling siblings like accept_offer/decline_offer, though it never names an alternative explicitly.

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?

Usage is implied by the action (toggle offer intake, configure auto-accept), but there is no explicit when-to-use guidance, no prerequisites, and nothing about when NOT to use it versus set_final_price or the offer-response tools.

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.