Skip to main content
Glama

Nuget Get Package

nuget_get_package
Read-onlyIdempotent

Registration metadata for a package, versions, tags, dependencies, dates.

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": {
      "id": "Newtonsoft.Json"
    },
    "name": "nuget_get_package"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesPackage id (e.g. "Newtonsoft.Json")
prereleaseNoInclude prerelease pages (default false)

Output Schema

NameRequiredDescriptionDefault
countNoTotal number of version pages
itemsNoVersion catalog pages
@contextNoJSON-LD context

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

C2.3/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, openWorldHint=true and destructiveHint=false, so the safety profile is fully covered. The description adds nothing beyond that — no note on what the registration payload includes, whether publishing dates or dependency ranges are trimmed, or any rate/network considerations for an open-world call.

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?

It is extremely short with no padding, but the brevity costs it a verb and a leading purpose statement; the fragment reads as a field list rather than a front-loaded task description.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

An output schema exists, so return values need not be spelled out, but the description still fails to say that the tool retrieves a package's registration document by id. For a tool with overlapping siblings, that missing action statement leaves the definition under-specified.

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 two simple parameters, so the schema already explains id and prerelease, making the baseline 3 appropriate. The description does not clarify that prerelease controls inclusion of prerelease pages, nor add any meaning beyond the schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose2/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description is a noun-phrase fragment listing returned data ("Registration metadata for a package, versions, tags, dependencies, dates") with no verb and no statement that the tool fetches package registration data. It hints at the resource but never states the action, so an agent must infer from the name that it performs a lookup.

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?

No when-to-use guidance is given, and no alternative is named even though siblings like nuget_latest_version and nuget_list_versions clearly overlap. The agent must guess which NuGet tool to call for a full package record versus a single version.

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.