Skip to main content
Glama

Costa Rica - Traffic Infractions (0.30 credits)

costa_rica_api_traffic_infractions
Read-onlyIdempotent

Retrieve Costa Rica traffic infractions and ticket status by license plate to check fines; use vehicle lookup separately for vehicle records.

Instructions

Costa Rica traffic infractions by plate. Returns tickets and their status for the plate. Input: plate. Use it for fines. Use costa_rica_api_vehicle for the vehicle record. Costs 0.30 credits per successful call.

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": {
      "plate": "<plate>"
    },
    "name": "costa_rica_api_traffic_infractions"
  }
}

Input Schema

NameRequiredDescriptionDefault
plateYesCosta Rican license plate (3–12 characters).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.5

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, openWorld and non-destructive behavior, so the safety bar is low. The description adds genuinely new context: the billing cost is per *successful* call and the response carries ticket status, not just a raw record. It doesn't mention rate limits or behavior when a plate has no tickets.

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 operation, followed by return content, input, alternative and cost — no wasted clauses. The telegraphic fragments ("Use it for fines") are terse but each still carries routing or cost information.

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?

For a one-parameter lookup with no output schema, the description covers input, output content (tickets plus status), the sibling alternative and the per-call cost — enough to call it correctly. Only edge cases such as no-ticket plates or invalid formats are unaddressed.

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?

There is a single parameter with 100% schema description coverage, so the schema already explains the 3–12 character plate format. The description only gestures at it with "by plate" and "Input: plate," adding no format or validation detail beyond the schema — baseline 3 is appropriate.

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?

The description gives a specific verb and resource — returns traffic tickets and their status for a given plate — and explicitly contrasts it with the vehicle-record sibling, so an agent can pick it without opening either schema.

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?

It states a use case ("Use it for fines") and names the alternative with the condition that selects it ("Use costa_rica_api_vehicle for the vehicle record"). It stops short of stating when not to use it, e.g. invalid or foreign plates.

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

Deploy Server

Other Tools