Skip to main content
Glama
ruminaider

NewRelic MCP Server

by ruminaider

search_entity_with_tag

Search for New Relic entities using tags like environment, team, or service name. Filter by tag key-value pairs or use NerdGraph query syntax to locate specific resources.

Instructions

Search for NewRelic entities using tags and NerdGraph query syntax. Use this to find entities by environment, team, service name, or any custom tag.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
queryNoFull NerdGraph entity search query (e.g., "domain = 'APM' AND type = 'APPLICATION'"). If provided, tagKey/tagValue are ignored.
tagKeyNoTag key to search for (e.g., 'environment', 'team'). Used when query is not provided.
tagValueNoTag value to match (e.g., 'production'). If omitted, matches any value for tagKey.
additionalFiltersNoAdditional query filters to combine with tag search (e.g., "domain = 'APM'")
maxResultsNoMaximum number of results to return (default: 100, max: 500)
Behavior2/5

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

No annotations are provided, so the description carries the full burden. It mentions the search functionality but doesn't disclose behavioral traits like whether this is a read-only operation, potential rate limits, authentication requirements, or what the output format looks like. For a search tool with no annotation coverage, this leaves significant gaps in understanding how the tool behaves.

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 description is concise and front-loaded with the core purpose in the first sentence. The second sentence adds useful context about common use cases. Both sentences earn their place without redundancy, making it efficient for an AI agent to parse.

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?

Given the complexity of a search tool with 5 parameters and no output schema, the description is incomplete. It lacks details on behavioral aspects (e.g., read-only nature, error handling), output format, and doesn't fully compensate for the absence of annotations. For a tool that interacts with a query system like NerdGraph, more context is needed to use it effectively.

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 the schema fully documents all 5 parameters. The description adds minimal value beyond the schema by mentioning examples like 'environment, team, service name' for tag usage, but doesn't provide additional syntax or format details. With high schema coverage, the baseline score of 3 is appropriate as the description doesn't significantly enhance parameter understanding.

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 clearly states the tool's purpose: 'Search for NewRelic entities using tags and NerdGraph query syntax.' It specifies the resource (NewRelic entities) and method (search using tags/NerdGraph). However, it doesn't explicitly differentiate from sibling tools like 'get_entity' or 'list_entity_types' beyond mentioning tag-based search.

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?

The description provides implied usage guidance: 'Use this to find entities by environment, team, service name, or any custom tag.' This suggests when to use it (for tag-based entity searches) but doesn't explicitly state when not to use it or name alternatives like 'get_entity' for direct entity lookup or 'execute_nrql_query' for other query types. The guidance is helpful but not comprehensive.

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

Install Server

Other Tools

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/ruminaider/newrelic-mcp-server'

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