Skip to main content
Glama

advise_land_gate

Read-onlyIdempotent

Get a decision model's advice on a reviewed task hand-off, returning ten probability-weighted yes/no judgments and a green, amber, or red land signal without approving or closing.

Instructions

Ask a decision model (TypeSafe's Jev, OpenAI's Decisions API, Google's Gemini Decisions API, Perplexity's Decisions API or Cloudflare's Clef) for advice on a task handed to review. Maidan sends the task's title, description and acceptance, its result and what the agent said, and returns ten yes/no judgments, each with a probability (does what the task asks, reports tests passing, the task asks for a code change, reports a failure, left work undone, asks a person, changes something not asked for, changes sign-in or permissions, deletes data, warns of a risk), plus land: green, amber or red by fixed rules. An unsettled judgment never counts toward green. Advice only: it does not write the gate, approve or close. NotFound when the instance offers no advice; the workspace needs a key for the provider asked unless the instance has one. Requires thread:transition.

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": {
      "thread_id": "<thread_id>"
    },
    "name": "advise_land_gate"
  }
}

Input Schema

NameRequiredDescriptionDefault
refreshNoAsk the model again even when an answer for this exact hand-off is held.
providerNoWhich provider to ask. Omitted, the first one the workspace has a key for, in this order.
thread_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv479.0.0

TDQS

A4.6/5.0
Behavior5/5

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

Goes well past the annotations by disclosing exactly what data leaves the system (title, description, acceptance, result, agent statement) — essential for an openWorldHint tool — plus the ten judgments returned, the fixed green/amber/red rules, the rule that an unsettled judgment never counts toward green, and the NotFound/auth failure modes. This is substantive behavioral context the readOnly/idempotent hints cannot convey.

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?

Purpose and the 'advice only' caveat are front-loaded, then the return contract and error/auth conditions follow in a logical order. The long parenthetical enumeration of ten judgments makes the middle sentence heavy, but each item is decision-relevant rather than filler.

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, so the description carries the return contract itself — it lists the judgments, their probabilities, and the land verdict with its rules. Combined with the error case, key requirement and permission scope, an agent has everything needed to call this correctly.

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 67% and the description compensates for the weakest part: it explains the provider enum by expanding each short name into a real product (e.g. 'typesafe' -> TypeSafe's Jev) and states the workspace-key prerequisite that selects a default provider. It adds nothing for refresh or thread_id, which the schema already documents, so not a 5.

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: ask a named decision model for advice on a task handed to review, and enumerates the concrete providers (Jev, OpenAI, Google, Perplexity, Clef). The clause 'Advice only: it does not write the gate, approve or close' explicitly separates it from siblings such as set_land_gate, clear_land_gate and approval_decide.

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 clear when-to-use context (a task handed to review needing a judgment) and an explicit when-not ('does not write the gate, approve or close'), plus the prerequisite 'Requires thread:transition'. It stops short of naming the sibling tool to use instead for actually setting the gate, so routing still requires inference.

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

Deploy Server

Other Tools