Skip to main content
Glama

devresources__crates_search

Search crates.io Rust packages by keyword, e.g. query "serde": max stable version, total downloads and description. Source: crates.io. License: Public registry metadata — free use with attribution (search results link back to the source) (crates.io).

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

Input Schema

NameRequiredDescriptionDefault
limitNoMax results, 1-20 (default 5).
queryYesSearch term for this source (see the tool description for what it expects).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

B3.4/5.0
Behavior3/5

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

With no annotations, the description must carry the behavioral load, and it does disclose the result contents (version, downloads, description) and the attribution/licensing condition. It says nothing about auth requirements, rate limits, ordering of results, or what happens with zero matches, which is a real gap for an unannotated tool.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The core purpose is front-loaded in the first sentence, but the trailing source/license text is wordy and redundant, restating '(crates.io)' twice and burying 'search results link back to the source' inside a parenthetical. That boilerplate dilutes an otherwise tight definition.

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 simple 1-required-parameter search with no output schema and no annotations, the description covers the important ground: what is searched, an example query, and the shape of returned records. Only result-limit/ordering behavior and failure modes are left 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?

Schema coverage is 100%, so both parameters are already documented, including limit's 1-20 range and default of 5. The description adds only a worked example of the query value ('serde'), which is mildly useful but no meaning beyond the schema.

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 verb+resource ('Search crates.io Rust packages by keyword') and even names the returned fields (max stable version, total downloads, description). The crates.io/Rust ecosystem framing cleanly separates it from the sibling package-registry search tools (npm, pypi, rubygems, hexpm), though it never explicitly contrasts with them.

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?

Usage is implied by the phrasing and the 'query "serde"' example, so an agent knows to pass a package keyword. There is no statement of when to use this versus a sibling registry search, no exclusions, and no prerequisites other than the source note.

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.