Skip to main content
Glama

add_local_camera

Add a camera to a persistent local collection; it survives restarts, appears in camera lists and searches as local, and can be shared upstream later.

Instructions

Add a camera to your local collection. Local cameras persist in ~/.openeagleeye/local-cameras.json and survive restarts and registry updates. They appear in list_cameras and search_cameras with source 'local'. Share upstream anytime with submit_local.

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": {
      "name": "<name>",
      "url": "<url>",
      "city": "<city>",
      "location": "<location>",
      "timezone": "<timezone>"
    },
    "name": "add_local_camera"
  }
}

Input Schema

NameRequiredDescriptionDefault
latNoLatitude of the camera
lngNoLongitude of the camera
urlYesDirect image URL — must return JPEG or PNG on HTTP GET
cityYesCity name (e.g. 'London', 'New York', 'Sydney')
nameYesHuman-readable camera name
categoryNoCamera category
locationYesLocation description (e.g. 'Manhattan, New York, USA')
timezoneYesIANA timezone (e.g. 'America/New_York', 'Europe/London')
auth_noteNoNotes about authentication
auth_key_typeNoHow to inject the key
auth_providerNoProvider name if API key is needed (e.g. 'Transport for London')
auth_key_namesNoQuery param or header names for the key
auth_config_keyNoKey name to use in ~/.openeagleeye/config.json
auth_signup_urlNoURL to register for API key
auth_key_requiredNoWhether the image URL requires an API key at fetch time

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields 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"
    • changedInput schema / properties / category / enum
      Previous value: -[
      -  "city",
      -  "park",
      -  "highway",
      -  "airport",
      -  "port",
      -  "weather",
      -  "nature",
      -  "landmark",
      -  "other"
      -]New value: +[
      +  "city",
      +  "park",
      +  "highway",
      +  "airport",
      +  "port",
      +  "weather",
      +  "nature",
      +  "landmark",
      +  "other",
      +  "beach",
      +  "volcano",
      +  "wildlife",
      +  "aurora",
      +  "ferry",
      +  "dam",
      +  "stadium",
      +  "construction",
      +  "ski_resort",
      +  "traffic"
      +]
  2. First observedv8.0.0

TDQS

A4/5.0
Behavior3/5

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

With no annotations, the description carries the full burden and does a good job on persistence: it names the storage file (~/.openeagleeye/local-cameras.json), states the data survives restarts and registry updates, and discloses the downstream effect that entries appear in list_cameras/search_cameras with source 'local'. It is silent on validation failures, duplicate handling, and the auth_* parameter behavior (key injection at fetch time), which matter for a 15-parameter mutation.

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?

Three short sentences, each earning its place: identity, persistence/side effects, and the sibling alternative. Front-loaded with the action and free of filler.

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 15-parameter write tool with no annotations and no output schema, the definition covers the essentials an agent needs to decide and act: where data lands, how it persists, and where it becomes visible. The remaining gap is return/error behavior and how the auth_* parameters affect later fetches, which the description never touches.

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%, so all 15 parameters are already documented, including URL format constraints and the auth_* group. The description adds no meaning beyond the schema (e.g. it never explains the relationship between auth_key_required, auth_key_type, and auth_key_names). Baseline 3 is appropriate when 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 ('Add a camera to your local collection') and immediately scopes it against siblings: submit_local is for sharing upstream, list_cameras/search_cameras are where the result surfaces. An agent can distinguish this from report_camera or submit_local without opening any 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 a clear selection rule: use this to keep a camera private/local, use submit_local when you want it upstream. It stops short of explicit exclusions, such as what to do if the camera already exists in the registry or is already local (remove_local / report_camera territory).

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