Skip to main content
Glama

Compare the results of AI plans

get_ai_plan_results
Read-only

Retrieve performance results for AI plans, ranked by interactions per measured post, to compare plans and templates and identify what worked.

Instructions

Which AI plans worked, and which template works best — the tool for 'which of my AI plans did best?'. Each plan comes with what its published posts achieved, plus an aggregate per template. Plans are ranked by interactions per MEASURED post, not by the total (the total just rewards bigger plans), and only plans marked ranked (at least 3 measured posts) compete; maturing means its numbers are still moving, so say so before comparing it with an older plan. The range filters on the week the plan published in. To compare plans fairly across networks, pass one social_network. Missing metrics are not zeros.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
sortNoDefaults to engagement_per_publication. credits_per_engagement goes cheapest first.
limitNo
offsetNo
to_dateNoISO 8601 date.
templateNoOnly plans generated from this template.
from_dateNoISO 8601 date. Defaults to the last 30 days.
social_networkNoRecompute each plan with only its posts on these networks.
id_organizationNoThe PlanVortex organization id. Optional.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.7.0
    • addedInput schema / additionalProperties
      Added value: +false
  2. Addedv0.5.0

TDQS

A4.2/5.0
Behavior4/5

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

Annotations cover the safety profile (readOnly, non-destructive), freeing the description to disclose rich domain behavior: ranking by interactions per measured post rather than total, ranked-only eligibility (3+ measured posts), maturing-plan caveat, and 'missing metrics are not zeros'. These are non-obvious semantics an annotation could never 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?

Front-loaded with the core question and tool purpose, then flows into ranking rules and filtering guidance. Information-dense and mostly waste-free, though slight redundancy between 'compare plans fairly' and 'pass one social_network' costs a point.

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 an 8-param comparison tool with no output schema, the description covers purpose, ranking semantics, eligibility rules, maturation caveat, range filtering, fairness advice, and missing-data handling. Nothing material is missing despite the absence of a return schema.

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

Parameters3/5

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

Schema coverage is 75%, above the 80% threshold band boundary, so the baseline is 3. The description adds semantic context for range ('filters on the week the plan published in') and social_network ('compare fairly across networks'), but doesn't disambiguate sort options or other params beyond the schema.

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+resource: comparing AI plan results and determining which template works best, framed by the actual user question ('which of my AI plans did best?'). Distinguishes itself from siblings like list_ai_plans and get_ai_plan by focusing on comparative performance.

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 application context ('which of my AI plans did best?') and explicit fair-comparison advice ('pass one social_network'). Does not name excluded siblings or state when not to use it (vs. list_ai_plans), so it falls short of 5.

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