Skip to main content
Glama

publication_evaluate

Evaluate a published model at its pinned version: figures for its exposed inputs in (by name, from publication_describe — for an input one number for every period, a list period by period with null to keep the author's, or periods by label; for a constant one number), the published rows' figures out. Nothing is kept and no formula is shown. Charged as one evaluation to whoever the publication says: quote: true answers the price and runs nothing. A fee publication needs acceptFee, the fee in dollars the person agreed to — ask them before you pay one. Refused because the author's sponsorship is spent, ask the person before passing payYourself: true.

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": {
      "publication": "<publication>"
    },
    "name": "publication_evaluate"
  }
}

Input Schema

NameRequiredDescriptionDefault
basisNoA published scenario the case starts from; base when absent.
quoteNoWhat one evaluation would cost, running nothing (free).
inputsNoFigures for exposed inputs, by row name; an input left out keeps the author's figures.
outputsNoOnly these published rows; every output when absent.
acceptFeeNoThe author's fee the person accepts, in dollars.
payYourselfNoPay the engine price yourself once the author's sponsorship is spent.
publicationYesThe publication: its id (`pub_…`), or the whole link it was sent as (`https://…/publications/pub_…?link=…`), which lets you in.

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?

Goes well beyond the annotations by disclosing that nothing is persisted, no formula is revealed, and that a run is billed as one evaluation to the specified payer. It also explains the failure mode (refused when the author's sponsorship is spent) and the human-consent requirement before any charge, which is exactly the cost/irreversibility context an agent needs for a paid operation.

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 content is front-loaded and dense, but the central sentence is a run-on with a nested parenthetical ('figures for its exposed inputs in (by name, from publication_describe — ...), the published rows' figures out') that is genuinely hard to parse. Splitting the input-format rules into their own sentence would cost nothing and gain clarity.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a paid, non-idempotent tool with no output schema, the description covers cost, consent, refusal conditions, and input naming. The remaining gap is the return shape — 'the published rows' figures out' is thin for a tool whose outputs parameter lets the caller select rows, and nothing is said about what a quote response contains.

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 100%, so the baseline is 3, but the description adds real meaning the schema lacks: the per-period input format (one number per period, a list with null to keep the author's value, or periods by label) versus a single number for constant inputs. It also annotates the payer semantics of acceptFee and payYourself beyond their schema blurbs.

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 ('Evaluate a published model at its pinned version') and immediately clarifies the two halves of the exchange: figures in, published rows' figures out. It also names the sibling publication_describe as the source of input names, so the agent can distinguish the roles 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?

Gives strong conditional routing: use `quote: true` to learn the price without running anything, `acceptFee` is required for fee publications and must be confirmed with the person first, and `payYourself` only applies after the author's sponsorship is spent. What's missing is any statement of when not to evaluate at all (e.g. when publication_describe alone suffices), so it stops just short of full when/when-not coverage.

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