Skip to main content
Glama

Estimate an AP score from practice exam raw points

estimate_ap_score_from_composite
Read-onlyIdempotent

Convert multiple-choice and free-response points into a weighted composite and estimated AP score using official College Board practice-exam conversion charts.

Instructions

Converts multiple-choice correct answers and free-response points into a weighted composite and an estimated AP score, using the scoring worksheet and conversion chart College Board printed in its official practice exams. Only for the 7 exams with such a worksheet: AP Calculus AB (2012), AP Biology (2013), AP Statistics (2012), AP World History (2013), AP Psychology (2012), AP Macroeconomics (2012), AP Microeconomics (2012). Cut scores are never invented; other exams return an error.

Input Schema

NameRequiredDescriptionDefault
examYesAP exam name or common short name, e.g. "AP Biology", "APUSH", "Calc BC", "Lang", "Physics 1", "APES".
free_response_pointsYesPoints earned on each free-response question, in order. The error message lists how many questions and the maximum for each.
multiple_choice_correctYesNumber of multiple-choice questions answered correctly.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnly/idempotent/non-destructive/closed-world, so safety is covered. The description adds real behavioral context beyond them: the data provenance (College Board's printed scoring worksheet and conversion chart), the guarantee that cut scores are never invented, and the error behavior for unsupported exams. It only omits how the error/edge cases look beyond the one mention.

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?

Three sentences, front-loaded with the action, then the supported-exam whitelist, then the anti-hallucination guarantee. The exam list is long but each item is load-bearing for correct invocation.

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 output schema, the description does describe the return values (a weighted composite and an estimated AP score), which is the key gap it needed to fill. Given only 3 parameters and closed-world reads, this is nearly complete, though it could say more about the shape of the returned composite.

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 a baseline of 3 is warranted, but the description adds meaning by explaining that MC and FR inputs are combined into a weighted composite, clarifying what the free-response array is for. It does not clarify per-exam input ranges beyond what the schema already documents.

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 transformation: multiple-choice correct answers and free-response points become a weighted composite and an estimated AP score. This is clearly distinct from the sibling tools (compare_ap_exams, estimate_ap_percentile, get_ap_score_distribution, list_ap_exams), none of which compute a score from raw responses.

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 an unusually explicit when-not clause: only the 7 listed exams are supported and 'other exams return an error', with each supported exam and year enumerated. The missing piece is a pointer to a sibling (e.g. list_ap_exams) as the way to discover supported exams, so it stops just short of naming alternatives.

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