Skip to main content
Glama

Predict a preference

aimrank_predict
Read-onlyIdempotent

iCOMPLY contract: pairwise prediction with provenance fields.

Returns the engine's predicted winner + probability shaped so iCOMPLY's Annex IV section-4 generator can ingest the response directly. See [iCOMPLY_INTEGRATION_STRATEGY.md] for the contract.

api_key is optional on the public endpoint; on /mcp/mcp a missing key is refused.

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": {
      "ranking_id": "<ranking_id>",
      "entity_a_id": "<entity_a_id>",
      "entity_b_id": "<entity_b_id>"
    },
    "name": "aimrank_predict"
  }
}

Input Schema

NameRequiredDescriptionDefault
api_keyNo
ranking_idYes
entity_a_idYes
entity_b_idYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, and openWorldHint=true, so the safety profile is covered. The description adds genuine context beyond that — the response is shaped for direct ingestion by an external generator and the api_key requirement differs by endpoint. However, it points to an external strategy document for the actual contract rather than stating it, and says nothing about latency, caching, or what provenance fields are included, so the addition is partial.

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 text is short but poorly front-loaded: it leads with a vendor jargon phrase ("iCOMPLY contract") instead of the tool's function, and the sentence "shaped so iCOMPLY's Annex IV section-4 generator can ingest the response directly" is padding from the calling agent's perspective. The trailing auth note is the most actionable line and is buried last.

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

Completeness2/5

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

An output schema exists, so return values need not be restated, but three of four required parameters are undocumented and the tool is undifferentiated from a sibling with an almost identical name. Referring the agent to an external markdown file for the contract does not make the definition self-sufficient for a call with three required identifiers.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% for four parameters, so the description carries the full burden and largely fails. It explains only api_key (optional on public endpoint, refused on /mcp/mcp); ranking_id, entity_a_id, and entity_b_id are given no meaning at all — notably whether the entities must belong to the referenced ranking, or whether ranking_id scopes the preference model.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description does identify the operation as a "pairwise prediction" returning "the engine's predicted winner + probability," so the verb and resource are inferable. But it is framed as an "iCOMPLY contract" rather than plainly stating what it does, and it never distinguishes this tool from the similarly named sibling aimrank_predict_matchup_winner, leaving real ambiguity about which prediction tool to call.

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

Usage Guidelines2/5

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

There is no when-to-use guidance and no mention of alternatives, despite a near-identical sibling (aimrank_predict_matchup_winner) that an agent would need to disambiguate. The only operative guidance is an auth condition: api_key is optional on the public endpoint but refused on /mcp/mcp, which is a prerequisite rather than a usage rule.

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