Skip to main content
Glama

Nuget Search

nuget_search
Read-onlyIdempotent

Search the NuGet .NET package registry by free text. Returns package id, description, authors, total downloads, and latest version for up to 1000 matches; optionally includes prerelease packages.

Example tool call

This call uses example arguments supplied in the tool’s input schema.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "query": "json serialization"
    },
    "name": "nuget_search"
  }
}

Input Schema

NameRequiredDescriptionDefault
skipNo0-based offset
takeNoMax results, 1-1000 (default 20)
queryYesFree-text query
prereleaseNoInclude prerelease packages (default false)

Output Schema

NameRequiredDescriptionDefault
dataNoArray of package results
totalHitsNoTotal number of matching packages

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedOutput schema / properties / data / items / properties / packageTypes / items / properties
      Added value: +{
      +  "name": {
      +    "type": "string"
      +  }
      +}
    • changedOutput schema / properties / data / items / properties / packageTypes / items / type
      Previous value: -"string"New value: +[
      +  "object"
      +]
  2. Added

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, openWorld and non-destructive, so the safety profile is covered. The description adds the result cap (up to 1000 matches) and the prerelease toggle, which is useful behavior context, but says nothing about paging cost, rate limits, or match semantics.

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?

A single front-loaded sentence with the verb and resource first, then scope and return information. The enumeration of returned fields is mildly redundant given an output schema exists, costing it a point.

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?

With a fully documented schema, an output schema, and complete annotations, the description only needs to convey purpose and scope, which it does. Only the lack of routing to the related nuget retrieval tools is a real 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?

Schema description coverage is 100%, with skip, take bounds/default and prerelease default all documented in the schema itself. The description only restates the 1000 cap and prerelease option, so it adds little meaning beyond the structured fields; 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?

States a specific verb and resource ("Search the NuGet .NET package registry") plus the retrieval mode ("by free text") and even the fields returned. It does not differentiate itself from siblings like nuget_get_package or nuget_list_versions, so it stops short of a 5.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no explicit when-to-use guidance, no exclusions, and no named alternative for looking up a single package's details or its version list. The agent must infer from the name that this is the discovery tool and the nuget_get_* siblings are the follow-ups.

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.