Skip to main content
Glama

remove_local

Delete a locally added camera by ID, removing it from local-cameras.json and the in-memory merged view. Use after sharing upstream via submit_local or when a URL stops working.

Instructions

Delete a locally-added camera by ID. Removes it from ~/.openeagleeye/local-cameras.json and the in-memory merged view. The camera is also auto-removed from the merged list. Use after sharing upstream via submit_local, or when a URL stops working.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "cam_id": "<cam_id>"
    },
    "name": "remove_local"
  }
}

Input Schema

NameRequiredDescriptionDefault
cam_idYesLocal camera ID to remove (starts with 'local-')

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv8.2.0
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
  2. First observedv8.0.0

TDQS

A4.1/5.0
Behavior4/5

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

With no annotations supplied, the description carries the full burden and does well: it names the persisted state file (~/.openeagleeye/local-cameras.json) and the in-memory merged view that are affected, so the agent knows exactly what is destroyed. It omits failure behavior (e.g. unknown ID) and irreversibility, which keeps it below a 5.

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?

Front-loaded with the action and kept to four short sentences. The third sentence ("also auto-removed from the merged list") largely restates the merged-view removal in sentence two, which is mild redundancy but not harmful.

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?

For a one-parameter, no-annotation mutation with no output schema, the description covers what is removed, from where, and when to reach for it. The remaining gap is error/not-found behavior and any confirmation requirement, which an agent might want before calling a destructive tool.

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 coverage is 100% and the cam_id property already documents the 'local-' prefix convention, so the description adds only the framing "by ID" and "locally-added camera." Baseline 3 is appropriate since the schema does the heavy lifting.

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?

States a specific verb and resource ("Delete a locally-added camera by ID") and scopes it to local cameras, which clearly separates it from add_local_camera, list_local, and the upstream camera tools. An agent can identify the operation without opening the schema.

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?

Gives two concrete triggering conditions: after sharing upstream via submit_local, or when a URL stops working. This names the relevant sibling and the workflow context. It does not state when deletion should be avoided (e.g. still-needed local entries), so it stops short of full when/when-not guidance.

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