Skip to main content
Glama

PlainQuant

How library stock-picking rules really did

rule_estimates
Read-onlyIdempotent

For each of PlainQuant's library stock-picking rules (US and Hong Kong) at default settings: the plain backtest's return a year after trading costs beside the honest estimate left after delisted stocks and untuned test periods (fractions: 0.05 = 5% a year), the trade count and the test window. Use for 'does momentum / value / moving-average investing work' or 'how much do backtests overstate'.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "rule_estimates"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already cover the safety profile (read-only, idempotent, closed-world, non-destructive), so the bar is lower; the description still adds real context by clarifying that results are fixed at default settings for US and Hong Kong, and that the second figure is net of delisted stocks and untuned test periods. It also specifies the numeric convention (fractions where 0.05 = 5% a year), which prevents a common misread. It stops short of saying how many rules are returned or in what order.

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?

There is no filler, but the first sentence is a long stacked clause ('the plain backtest's return a year after trading costs beside the honest estimate left after delisted stocks and untuned test periods') that takes effort to parse. Splitting the returned fields into a short list would have made it scannable without adding length.

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?

With no input parameters and no output schema, the description carries the full burden of explaining the return values, and it does enumerate each field with units. It omits smaller details such as the number of rules covered or result ordering, but an agent has enough to call it and interpret the answer.

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?

There are zero parameters, so there is nothing for the description to disambiguate; baseline for a no-param tool is 4. The mention of 'default settings' usefully signals that the tool is not parameterizable.

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?

The description names a specific resource — PlainQuant's library stock-picking rules — and enumerates exactly what is returned per rule: the plain backtest return after trading costs, the 'honest' estimate net of delisting and untuned test periods, trade count, and test window. That is concrete enough to separate it from siblings like check_stocks or event_study, 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 Guidelines4/5

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

It gives two concrete trigger questions ('does momentum / value / moving-average investing work' and 'how much do backtests overstate'), which map cleanly onto the tool's output. There are no explicit exclusions or named sibling alternatives, but the usage context is unambiguous.

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