Skip to main content
Glama

check_deprecation

Read-onlyIdempotent

Check whether a NEAR package, crate, repository, RPC method, protocol feature, config key or hosted service is deprecated, removed or changed, and what to use instead, with the source and date of every claim. Pass the name as code or a config uses it: "near-sdk-js", "@near-wallet-selector/core", "near-lake-framework", "DelegateV2", "EXPERIMENTAL_tx_status", "near/near-cli", "rpc.testnet.pagoda.co". Use before writing or reviewing NEAR code that names a package or API from memory. NEAR only: for packages of other chains use their own tools.

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

Input Schema

NameRequiredDescriptionDefault
nameYesPackage, crate, repository (owner/repo or GitHub URL), RPC method, identifier, config key or endpoint host.
limitNoMost entries to return (default 3).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

With readOnlyHint, idempotentHint and destructiveHint already supplied, the description still adds real information: every claim comes with its source and a date, so the agent knows the answer is citable and time-scoped rather than a bare yes/no. It also hints at how many entries come back via the default of 3 in the schema. It does not describe ranking or what happens when nothing is found, which keeps it at 4.

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?

The capability statement and scope come first, then the usage trigger, then the NEAR-only boundary, so the important routing information is front-loaded. The middle sample-value list is long but each example covers a genuinely different input shape, so it mostly 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 two-parameter read-only lookup with full schema coverage and no output schema, the description covers scope, input forms, response provenance and the limit default, which is enough to call it correctly. Only the empty-result behavior and result ordering are left implicit.

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 100%, so the baseline is 3, but the description earns above it by showing the exact input forms passed as-is: scoped npm names ("@near-wallet-selector/core"), Rust types ("DelegateV2"), RPC methods ("EXPERIMENTAL_tx_status"), owner/repo ("near/near-cli"), and endpoint hosts. These examples resolve ambiguity the schema's prose leaves about how to format a method or type identifier.

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 states a specific verb (check) plus the exact condition being reported on (deprecated, removed or changed), and enumerates the resource classes: package, crate, repository, RPC method, protocol feature, config key, hosted service. That is far more precise than the sibling resolve_package or get_breaking_changes, and an agent can tell which one answers a deprecation question.

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 before writing or reviewing NEAR code that names a package or API from memory" is an explicit trigger condition, and "NEAR only: for packages of other chains use their own tools" is an explicit exclusion. It stops short of naming a specific sibling (resolve_package or get_breaking_changes) as the alternative when the question is not about deprecation, so a 4 rather than a 5.

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