Skip to main content
Glama

Project clicks at a CTR

project_clicks_at_ctr
Read-onlyIdempotent

Calculates the clicks a number of impressions would earn at a CTR you choose (impressions × CTR). Use it for a what-if on one period; compare_ctr_periods is for two observed periods and impressions_needed_for_clicks for the opposite direction. The result is a modelled value and may be fractional.

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": {
      "impressions": "<impressions>",
      "ctrPercent": "<ctrPercent>"
    },
    "name": "project_clicks_at_ctr"
  }
}

Input Schema

NameRequiredDescriptionDefault
ctrPercentYesCTR as a percentage from 0 to 100: 3 means 3%, 0.5 means 0.5%. Not a fraction.
impressionsYesImpressions of the period, a whole number.

Output Schema

NameRequiredDescriptionDefault
clicksYes
inputsYes
versionsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, non-destructive, and closed-world, so the safety profile is fully covered. The description adds meaningful context beyond that by warning the result is 'a modelled value and may be fractional', which tells the agent not to expect an integer count. It doesn't cover rounding or precision limits, which keeps it from a 5.

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 tight sentences: formula first, disambiguation second, output caveat last. Every clause carries information and nothing is repeated from the title or schema.

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 a two-parameter pure computation with full schema coverage, annotations, and an output schema, the description supplies everything needed to select and invoke it correctly: the formula, the alternatives, and the fractional-result caveat.

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 description coverage is 100% and the schema already spells out that ctrPercent is 0-100 'Not a fraction' and impressions is a whole number. The description adds no parameter-level meaning beyond what the schema provides, so the baseline of 3 applies.

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 computed resource ('Calculates the clicks a number of impressions would earn at a CTR you choose') and even gives the formula (impressions × CTR), so the operation is unambiguous. It also names the two sibling tools it is not, making it distinguishable without opening any schema.

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

Usage Guidelines5/5

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

Explicitly scopes usage to 'a what-if on one period' and routes the agent elsewhere: compare_ctr_periods for 'two observed periods' and impressions_needed_for_clicks for 'the opposite direction'. Both the when and the when-not are stated.

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.