Skip to main content
Glama

Crypto & Web Data API for Agents

crates.io crate metadata

security_crate
Read-only

crates.io crate metadata. Latest version, description, license, downloads and repository of a Rust crate. Price $0.010 per call (x402: USDC on Base or Solana).

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": "security_crate"
  }
}

Input Schema

NameRequiredDescriptionDefault
txNoAlternative to the X-Payment-Tx header
nameYescrate name

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, so safety is covered. The description adds genuinely useful non-annotation context: a per-call price and the x402 payment mechanism (USDC on Base or Solana), which tells the agent a paid, credentialed call is involved. It does not say what happens on a missing crate or whether failures are still billed.

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 plus a pricing clause, front-loaded with the resource identity. Every sentence carries information; the pricing clause is dense but necessary given the paid call model.

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-required-parameter lookup with no output schema, the description tells the agent what the tool returns and that payment is required. Missing only edge-case behavior (unknown crate, invalid payment) which is minor at this complexity.

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 `name` and `tx` are already documented in the schema; baseline 3 applies. The description adds no syntax or format detail beyond what the schema provides, and does not connect the 'x402' mention to the `tx` parameter that carries the payment proof.

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 states a specific resource (crates.io crate metadata) and enumerates the returned fields: latest version, description, license, downloads, repository. Naming 'Rust crate' implicitly separates it from security_npm and security_pypi, though it never names a sibling explicitly.

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 resource named — fetch metadata for a Rust crate — but there is no when-to-use guidance, no exclusions, and no pointer to security_npm/security_pypi for other registries. An agent must infer the boundary from the word 'Rust' alone.

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