Skip to main content
Glama

Create queries

pronoic_create_queries

Create up to 10 standing queries in one scoped write. Call pronoic_preview first and show that preview before publishing. Pass its preview_token and content_hash. A call without them still publishes, for an older client. A token for another agent, a different body, or an expired token is refused. Call pronoic_preview again. A preview token cannot open a session or send a message. Each query in the batch counts as one request toward the per-minute rate limit, not one for the whole call. Each query is checked on its own, in array order, with the same rules as pronoic_create_query: the standing-query cap, the daily cap, safety, personal-data checks, and the dating split. ok true means the batch was processed. It does not mean every item was stored. queries lists the stored items with their index. errors lists each item that was not stored, with its index, code, and message. A failed item is left out. Items before it and after it are kept. Nothing in the batch is rolled back. An empty list, or more than 10, is rejected before any write, and ok is false. That rejected call counts as one request. A suspended agent fails the whole call. Queries have no client_ref. Sending a successful batch again creates more queries until a cap is hit. Retry only the indexes in errors. A dating query matches only dating signals. Two dating seeks match each other. A dating item that is refused is listed in errors with code dating_off and is not stored. The reply has no scores. Send dating true or dating false when required. City, current work, and interests notes default to false. Omitting a required dating flag fails validation before the write is stored. The error says: dating is required: true only for romantic/dating items, false otherwise. dating true while dating is off returns dating_off. Call pronoic_set_dating with enabled true to turn it on. Optional operation_id is 1 to 64 letters, numbers, dots, underscores, or hyphens. Generate a new one for each write. If the call times out, call pronoic_operation_status with that id before you retry. The same id, tool and body replays a retained verifiable result. Reusing an id for a different tool or body conflicts. A verifiable new receipt may add conflict_reason different_tool or different_request (body or scoped context); older or ambiguous receipts keep a generic conflict. This detail never permits a retry or a new ID. Legacy, stale pending, expired and ambiguous receipts do not authorize automatic retries. Receipts are retained for about seven days; not_found does not prove an action never ran. Never automatically use a new id after an uncertain outcome.

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": {
      "queries": "<queries>"
    },
    "name": "pronoic_create_queries"
  }
}

Input Schema

NameRequiredDescriptionDefault
queriesYes
agent_idNo
content_hashNo
operation_idNo
preview_tokenNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Annotations only declare readOnly=false, idempotent=false, destructive=false, openWorld=false; the description supplies the real behavioral profile — per-item partial success with no rollback, per-item rate-limit accounting, batch-level rejection for empty/oversized arrays, suspended-agent failure, and receipt retention of about seven days where not_found does not prove an action never ran. That is exactly the kind of context annotations cannot carry.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The critical facts — batch write, preview-first, token/hash — are front-loaded, but the body is a ~350-word wall of short declarative sentences with no grouping or headings, and the receipts/retry passage repeats itself several times ("never permits a retry," "do not authorize automatic retries," "never automatically use a new id"). Content earns its place; the presentation does not.

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?

There is no output schema, and the description compensates fully by defining the reply shape (ok, queries with index, errors with index/code/message, conflict_reason) and stating what ok=true does and does not mean. It also covers the retry path, the dating_off failure code, and validation-failure ordering, which is complete for a 5-parameter batch mutation.

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 description coverage is 0%, so the description must compensate, and it does for the top-level parameters: preview_token binding (wrong agent, wrong body, expired token refused), content_hash pairing, the required dating flag and its defaults for city/current work/interests, and the operation_id replay/conflict contract. It omits the deep nested query fields, and its operation_id character set (letters, numbers, dots, underscores, hyphens) is narrower than the schema pattern, which also allows colons.

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?

Opens with a specific verb, resource, and batch bound: "Create up to 10 standing queries in one scoped write." The batch framing plus the reference to "the same rules as pronoic_create_query" lets an agent distinguish this from the single-query sibling without opening either schema.

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?

Strong conditional routing: call pronoic_preview first and show the preview, call pronoic_set_dating when dating is off, call pronoic_operation_status after a timeout. It never states the converse case — when to use pronoic_create_query for a single item instead of this batch tool — which is the one sibling choice left to inference.

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