Skip to main content
Glama
landynsnipes

Enterprise MCP Kit

by landynsnipes

get_device_context

Retrieve a NetBox device's exact context by name or ID, delivering identity, status, site, role, and primary IP in a read-only, secure lookup.

Instructions

Read one exact NetBox device context. This tool performs no write operations.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idNo
nameNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYes
nameYes
roleYes
siteYes
sourceYes
statusYes
platformYes
deviceTypeYes
primaryIpv4Yes
primaryIpv6Yes
versionComplianceYes
versionObservedAtYes
versionEvidenceSourceYes
minimumApprovedVersionYes
observedSoftwareVersionYes

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observedv0.2.0

TDQS

A4/5.0
Behavior4/5

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

No annotations are provided, so the description carries the behavioral disclosure burden. It explicitly states 'This tool performs no write operations,' which is a meaningful safety guarantee. It does not cover error behavior, but for a simple read-only lookup with an output schema this is sufficient.

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

Conciseness5/5

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

The description is two short sentences with no filler. The purpose is front-loaded and the read-only guarantee is stated efficiently.

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

Completeness3/5

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

The output schema covers return values, and the read-only behavior is clear. However, the description leaves the identification contract ambiguous: both schema parameters are optional, and the description does not clarify that at least one is needed or whether 'name' refers to the device context name. This is a gap for reliable invocation.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, and the description does not explain how to use the 'id' or 'name' parameters. The word 'exact' implies a precise identifier, but the description never states that either id or name must be provided, or how they relate to the target device context.

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?

The description uses a specific verb ('Read') and resource ('one exact NetBox device context'), making the operation clear. It also distinguishes itself from sibling tools like get_rack_context and get_site_overview by specifying the target resource type.

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

Usage Guidelines4/5

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

The description clearly implies when to use this tool: when an agent needs to retrieve a single device context from NetBox. It does not explicitly name alternatives or exclusions, but the context is unambiguous for a simple read tool.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/landynsnipes/enterprise-mcp-kit'

If you have feedback or need assistance with the MCP directory API, please join our Discord server