Skip to main content
Glama

Get Feature By Id

get_feature_by_id
Read-onlyIdempotent

Support table for an exact caniuse feature id.

Use when the id is already known, for example from a previous search. No fuzzy matching is applied.

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": {
      "id": "<id>"
    },
    "name": "get_feature_by_id"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesExact caniuse feature id, e.g. "css-has".

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -{
      -  "properties": {
      -    "description": {
      -      "nullable": true,
      -      "type": "string"
      -    },
      -    "feature": {
      -      "description": "Resolved caniuse feature id.",
      -      "type": "string"
      -    },
      -    "global_partial_percent": {
      -      "nullable": true,
      -      "type": "number"
      -    },
      -    "global_support_percent": {
      -      "description": "Percentage of tracked global users on a browser version that fully supports it.",
      -      "nullable": true,
      -      "type": "number"
      -    },
      -    "meaning": {
      -      "description": "One sentence, safe to show a user verbatim.",
      -      "type": "string"
      -    },
      -    "other_matches": {
      -      "description": "Other features the query could have meant.",
      -      "items": {
      -        "properties": {
      -          "id": {
      -            "type": "string"
      -          },
      -          "title": {
      -            "type": "string"
      -          }
      -        },
      -        "type": "object"
      -      },
      -      "type": "array"
      -    },
      -    "resolved_from": {
      -      "description": "The query that was matched, so a caller can see what it actually asked about.",
      -      "type": "string"
      -    },
      -    "safe_to_use": {
      -      "description": "True only when global support is at least 90% AND no major browser is missing it. A conservative single answer.",
      -      "type": "boolean"
      -    },
      -    "spec": {
      -      "nullable": true,
      -      "type": "string"
      -    },
      -    "support": {
      -      "additionalProperties": {
      -        "properties": {
      -          "browser": {
      -            "description": "Human browser name.",
      -            "type": "string"
      -          },
      -          "current": {
      -            "description": "State in the newest release: supported, partial support, not supported, supported behind a vendor prefix, disabled by default.",
      -            "type": "string"
      -          },
      -          "latest_version": {
      -            "description": "Newest released version caniuse tracks for this browser.",
      -            "nullable": true,
      -            "type": "string"
      -          },
      -          "since": {
      -            "description": "Earliest version from which support has held continuously to the newest release. Null when never supported.",
      -            "nullable": true,
      -            "type": "string"
      -          },
      -          "supported_now": {
      -            "description": "Whether the newest released version supports it.",
      -            "type": "boolean"
      -          }
      -        },
      -        "type": "object"
      -      },
      -      "description": "Per-browser detail, keyed by caniuse browser id.",
      -      "type": "object"
      -    },
      -    "title": {
      -      "type": "string"
      -    },
      -    "unsupported_in": {
      -      "description": "Major browsers whose newest release still does not support it.",
      -      "items": {
      -        "type": "string"
      -      },
      -      "type": "array"
      -    }
      -  },
      -  "required": [
      -    "feature",
      -    "title",
      -    "meaning",
      -    "support"
      -  ],
      -  "type": "object"
      -}New value: +null
  2. First observed

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint and destructiveHint=false, so safety semantics are covered. The description adds one genuinely useful behavioral fact beyond them — matching is exact with no fuzzy fallback, so a near-miss id will not resolve — but it says nothing about what happens on an unknown id (error vs empty) or about data freshness.

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?

Two short sentences, front-loaded with what the tool returns, followed by the usage condition and caveat. No filler; the only weakness is the slightly cryptic fragment 'Support table for an exact caniuse feature id.' which reads as a noun phrase rather than a statement of action.

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 read-only lookup with full schema coverage and complete annotations, the description supplies what the tool returns, when to use it, and the key matching caveat. Without an output schema, a brief note on the shape of the returned support data would be the only 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?

There is a single required parameter and schema description coverage is 100%, with the schema itself supplying the 'css-has' example format. The description reinforces exactness of the id but adds no new format, casing, or validation rules, so the schema does the heavy lifting and 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 names the resource ('exact caniuse feature id') and the payload ('support table'), so the agent knows this returns browser-support data for one feature. It distinguishes itself from lookup-style siblings by stating that matching is exact, though the verb is implied rather than stated outright.

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?

'Use when the id is already known, for example from a previous search' gives a concrete precondition, and 'No fuzzy matching is applied' is an explicit exclusion that steers name-based lookups elsewhere. The alternative tool is only alluded to ('a previous search') rather than named, so routing is clear but not fully explicit.

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