Skip to main content
Glama

Check Browser/Runtime Compatibility

gt_compat
Read-onlyIdempotent

Check browser and runtime support for a web API, CSS feature, or JS syntax using MDN and caniuse data to verify compatibility before you code.

Instructions

Browser and runtime support for a web API, CSS feature or JS syntax ('container queries', 'Array.at()'), from MDN and caniuse. Takes a feature, not a library.

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": {
      "feature": "<feature>"
    },
    "name": "gt_compat"
  }
}

Input Schema

NameRequiredDescriptionDefault
tokensNo
featureYese.g. 'CSS container queries'
environmentsNoe.g. ['chrome', 'safari', 'node']

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changedv8.1.1
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
    • changedInput schema / properties / environments / description
      Previous value: -"Environments to focus on, e.g. ['chrome', 'firefox', 'safari', 'node', 'deno']"New value: +"e.g. ['chrome', 'safari', 'node']"
    • changedInput schema / properties / feature / description
      Previous value: -"Feature to check: 'CSS container queries', 'Array.at()', 'fetch() browser support', 'WebAssembly'"New value: +"e.g. 'CSS container queries'"
    • removedInput schema / properties / tokens / description
      Removed value: -"Max tokens for content"
  2. First observedv5.2.0

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, non-destructive and open-world behavior, so the safety profile is covered. The description usefully names the upstream data sources (MDN and caniuse) and the accepted input granularity, but says nothing about result shape, freshness of support data, or whether unknown features return empty results or an error.

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?

Two short sentences, front-loaded with the capability and followed by the scoping constraint. No filler, no restatement of the title, nothing that could be cut without losing meaning.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a three-parameter read tool with no output schema, the description leaves the agent guessing at the most decision-relevant detail: whether results are per-environment support tables, booleans, or version ranges. It also gives no hint that the 'environments' parameter narrows output, which is the main lever an agent has here.

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 67% with descriptions only on 'feature' and 'environments'; the 'tokens' budget parameter is undocumented. The description compensates partly by giving concrete feature-form examples ('container queries', 'Array.at()') that clarify granularity beyond the schema's single example, but it never mentions environments or the token budget.

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?

States a specific resource and outcome: browser/runtime support data for a named web API, CSS feature or JS syntax, sourced from MDN and caniuse. It also draws a boundary ('Takes a feature, not a library') that separates it from the library-oriented siblings, though the action verb itself is only implied 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 Guidelines3/5

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

The clause 'Takes a feature, not a library' is an explicit when-not hint that routes library names to other tools, which is real guidance. However there is no positive when-to-use framing, no mention of when to prefer gt_get_docs or gt_search instead, and no statement about what inputs are out of scope beyond the library exclusion.

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