Skip to main content
Glama

devresources__hexpm_package_search

Search Hex.pm Elixir/Erlang packages by keyword, e.g. query "phoenix": latest stable version and all-time downloads. Source: Hex.pm. License: Public registry metadata — free use with attribution (search results link back to the source) (Hex.pm).

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__hexpm_package_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

A3.7/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full disclosure burden. It identifies the upstream source (Hex.pm) and the fields returned, but says nothing about result ordering, empty/no-match behavior, rate limits, or error conditions for a search tool.

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 purpose is front-loaded in the opening clause and the example is useful. The trailing source/license/attribution sentence is boilerplate that consumes roughly a third of the text without helping an agent decide or call correctly.

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 search with no output schema, the description covers purpose, ecosystem scope, and the shape of returned data. Only retrieval mechanics and non-match behavior are missing, which are minor for this tool class.

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 description coverage is 100%, so both `query` and `limit` (with its 1-20 range and default 5) are already documented structurally. The description only adds a keyword-search example for `query` and nothing for `limit`, so baseline 3 applies.

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?

States a specific verb and resource ("Search Hex.pm Elixir/Erlang packages by keyword") and names the ecosystem, which cleanly separates it from the npm/nuget/pypi/crates siblings. It also previews what a result carries (latest stable version, all-time downloads), so an agent knows what it gets without opening the schema.

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 only implied: the worked example (query "phoenix") shows the keyword-search pattern, but there is no explicit when-to-use/when-not guidance and no alternative named for non-Elixir/Erlang package lookups. An agent must infer from the ecosystem name that this is not the tool for npm or PyPI packages.

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.