Skip to main content
Glama

Create network alert

shodan_alert_create

Create a network alert to monitor an IP or CIDR block for newly exposed services and vulnerabilities, with optional expiration.

Instructions

Monitor an IP or netblock for new services and vulnerabilities. Body matches the Shodan alert API: { name, filters: { ip: [...] }, expires? }.

Input Schema

NameRequiredDescriptionDefault
ipYesIP or CIDR, or comma-separated list
nameYes
expiresNoOptional lifetime in seconds

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already disclose that this is a non-read-only, open-world, non-idempotent, non-destructive mutation. The description adds that the resulting alert continuously monitors for new services and vulnerabilities, which is useful behavioral context beyond the annotations, but it omits duplicate-alert behavior, permissions, rate limits, and response details.

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 two short sentences and front-loads the monitoring purpose before the API body shape. It is efficient, though the body-shape sentence is potentially confusing rather than purely clarifying.

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?

For a three-parameter mutation tool with annotations and no output schema, the description covers the main intent and field names. It still leaves out what is returned after creation (such as an alert ID), how duplicate alerts behave given non-idempotent behavior, and explicit alternatives, so it is only minimally complete.

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 coverage is 67%, so the schema carries most parameter documentation. However, the description's indicated body shape places ip inside a nested filters object: { name, filters: { ip: [...] }, expires? }, while the input schema requires a top-level 'ip' property. This structural mismatch can mislead invocation even though the field names are mentioned.

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 identifies the resource clearly as monitoring an IP or netblock for new services and vulnerabilities, matching the create-alert concept, but it does not explicitly say 'creates an alert' and gives no sibling differentiation. An agent can infer the purpose from the name and title, but the description alone is slightly indirect.

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 phrase 'Monitor an IP or netblock for new services and vulnerabilities' implies when to use the tool, but there is no explicit guidance about when not to use it or which sibling tools (e.g. alert_update, alert_list) are alternatives. The usage context is adequate but incomplete.

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