Skip to main content
Glama

Get a state's e-bike law

get_state_ebike_law
Read-onlyIdempotent

Returns the researched e-bike rules for one US state or DC: definition, wattage and speed limits, age, helmet, licence, registration, insurance, label and modification rules, what an out-of-class bike becomes, battery rules, conversion notes, recent changes, statute citations and sources.

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": {
      "state": "<state>"
    },
    "name": "get_state_ebike_law"
  }
}

Input Schema

NameRequiredDescriptionDefault
stateYesUS state or DC: two-letter code (CA) or full name

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.2/5.0
Behavior3/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 covered. The description adds real value by enumerating what the returned record contains (definitions, limits, age/helmet/licence rules, battery rules, citations), which matters because there is no output schema. It does not mention freshness guarantees, jurisdictional gaps, or disclaimers about the 'researched' nature of the data.

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?

It is a single front-loaded sentence with the verb and resource first, followed by a content enumeration. The long trailing list of topics is dense but each item conveys what data is returned, so it largely earns its space.

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 single-parameter read tool with no output schema, the description adequately conveys both the input scope and the shape of the returned content. Nothing critical to correct invocation is missing, though a pointer to the federal/list siblings would close the remaining gap.

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 100% and the single 'state' parameter already documents that it accepts a two-letter code or full name. The description only reinforces that the scope is one state or DC, adding little beyond the schema; baseline 3 applies.

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 opens with a specific verb and resource ('Returns the researched e-bike rules') and scopes it to 'one US state or DC', which implicitly separates it from get_federal_ebike_law and list_state_ebike_laws. It does not name a sibling explicitly, so the differentiation is inferred rather than stated.

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

Usage Guidelines2/5

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

There is no explicit when-to-use or when-not-to-use guidance and no named alternatives. An agent must infer that this is the per-state lookup versus the federal tool or the list tool, and there is no mention of related checks such as check_conversion_legality.

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