Skip to main content
Glama

recommend

Read-onlyIdempotent

Compare multiple named actions and get a ranked recommendation with confidence, rationale, and expected value. Use when choosing between alternatives under uncertainty.

Instructions

Compare multiple named actions/options and get a ranked recommendation. Use when you need to choose between two or more alternatives with uncertainty. Synchronous deterministic compute; nothing is persisted and no separate rate limit applies. Returns recommended_action, confidence, rationale, and the ranked action list with expected_value and score per action. Which to use: a ranked pick among 2+ named actions with confidence and rationale; use compare for named scenario deltas, or simulate for one scenario's full envelope.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
actionsYesList of options to compare (minimum 2)
n_simulationsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.9/5.0
Behavior5/5

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

Annotations already state readOnlyHint, idempotentHint, and destructiveHint, and the description adds genuinely useful behavioral context beyond that: synchronous deterministic compute, no persistence, and no separate rate limit. It also discloses exactly what the response contains. There is no contradiction between the description and the annotations.

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

Conciseness5/5

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

The description is compact, information-dense, and front-loaded with the most important facts. Every sentence earns its place: what it does, when to use it, behavioral guarantees, return contents, and routing to siblings. There is no repetitive or filler language.

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 synchronous, non-persistent comparison tool with no output schema, the description is complete: it explains return fields, states behavioral guarantees, covers the minimum input requirement, and distinguishes from the two most relevant sibling tools. No additional information is necessary for an agent to select and invoke it 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?

The schema documents the actions array and its variables object, but the description adds meaning by framing these as 'named actions/options' and clarifying the ranking output per action. It does not explicitly explain n_simulations, but the schema gives it a default value, and the description's focus on comparing named options compensates reasonably for the 50% schema description coverage.

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?

The description states the core purpose with a specific verb ('compare') and resource ('multiple named actions/options'), and immediately clarifies the output is a ranked recommendation. It also distinguishes itself from the sibling tools compare and simulate by naming them directly. This makes the tool's identity clear without needing to inspect any other schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description explicitly says when to use this tool: when choosing between two or more alternatives with uncertainty. It also provides concrete routing guidance, telling the agent to use compare for named scenario deltas and simulate for a single scenario's full envelope. This is model guidance for alternative selection.

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