Skip to main content
Glama

CentsPerPage

A cartridge code

get_cartridge
Read-only

One cartridge code: what it is, its rated yield, the printers it is confirmed to fit, and its CentsPerPage page, which shows the current offers cheapest per 1,000 pages first.

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": {
      "code": "<code>"
    },
    "name": "get_cartridge"
  }
}

Input Schema

NameRequiredDescriptionDefault
codeYesCartridge code, e.g. "TN-760"
marketNoCountry the printer was sold in: us, gb (UK), ca or au. Codes differ by country.us

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnlyHint and openWorldHint, so safety is covered. The description adds real value beyond that by disclosing the response composition and the ordering rule for the offers page ('cheapest per 1,000 pages first'), which matters for interpreting results; it stops short of describing failure or empty-result behavior.

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?

A single front-loaded sentence that lists the returned fields in a useful order. Slightly dense with app-specific naming (CentsPerPage) that goes unexplained, but there is no filler.

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 usefully previews the returned fields, which is the main completeness risk for a two-parameter read tool. Gaps remain around not-found handling and market mismatch, but an agent has enough to call it correctly.

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%, including an example value for code and a default plus explanation for market, so the schema carries the parameter burden. The description adds nothing about the code format or how market affects which cartridge record is returned, which keeps this at the baseline.

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 the specific resource (a single cartridge code) and enumerates what comes back: identity, rated yield, confirmed printer fit, and the CentsPerPage page. That is clearly distinct from a bulk printer-to-cartridge listing, but it never names a sibling tool to make the boundary explicit.

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

Usage Guidelines3/5

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

Usage is only implied: an agent can infer this is the lookup to call when it already has a cartridge code. There is no statement of when to prefer this over decode_cartridge_code, get_printer_cartridges, or search, and no note on what happens when the code is unknown or the wrong market.

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