Skip to main content
Glama

flyTo

Idempotent

Animate the camera to a specified geographic location for visible navigation. Provide latitude and longitude to move the view.

Instructions

Animate the camera to a geographic location. Use for visible navigation requested by the user. Returns { success: boolean, message?: string, error?: string }.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pitchNoPitch angle (degrees), -90 = straight down
heightNoCamera height (meters), default 50000
headingNoHeading angle (degrees), 0 = North
durationNoFlight animation duration (seconds)
latitudeYesLatitude (-90 to 90)
longitudeYesLongitude (-180 to 180)
sessionIdNoTarget browser session ID for multi-browser routing (optional)

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
errorNo
messageNo
successYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv1.139.19
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "additionalProperties": false,
      +  "properties": {
      +    "error": {
      +      "type": "string"
      +    },
      +    "message": {
      +      "type": "string"
      +    },
      +    "success": {
      +      "type": "boolean"
      +    }
      +  },
      +  "required": [
      +    "success"
      +  ],
      +  "type": "object"
      +}
  2. Changed1 schema field changedv1.139.18
    • removedInput schema / $schema
      Removed value: -"http://json-schema.org/draft-07/schema#"
  3. Changed12 schema fields changedv1.139.17
    • addedInput schema / properties / duration / maximum
      Added value: +60
    • addedInput schema / properties / duration / minimum
      Added value: +0
    • addedInput schema / properties / heading / maximum
      Added value: +360
    • addedInput schema / properties / heading / minimum
      Added value: +0
    • addedInput schema / properties / height / maximum
      Added value: +50000000
    • addedInput schema / properties / height / minimum
      Added value: +0
    • addedInput schema / properties / latitude / maximum
      Added value: +90
    • addedInput schema / properties / latitude / minimum
      Added value: +-90
    • addedInput schema / properties / longitude / maximum
      Added value: +180
    • addedInput schema / properties / longitude / minimum
      Added value: +-180
    • addedInput schema / properties / pitch / maximum
      Added value: +90
    • addedInput schema / properties / pitch / minimum
      Added value: +-90
  4. Changed7 schema fields changedv1.139.14
    • changedInput schema / properties / duration / description
      Previous value: -"飞行动画时长(秒)"New value: +"Flight animation duration (seconds)"
    • changedInput schema / properties / heading / description
      Previous value: -"航向角(度),0 为正北"New value: +"Heading angle (degrees), 0 = North"
    • changedInput schema / properties / height / description
      Previous value: -"相机高度(米),默认 50000"New value: +"Camera height (meters), default 50000"
    • changedInput schema / properties / latitude / description
      Previous value: -"纬度(-90 ~ 90)"New value: +"Latitude (-90 to 90)"
    • changedInput schema / properties / longitude / description
      Previous value: -"经度(-180 ~ 180)"New value: +"Longitude (-180 to 180)"
    • changedInput schema / properties / pitch / description
      Previous value: -"俯仰角(度),-90 为正下方"New value: +"Pitch angle (degrees), -90 = straight down"
    • addedInput schema / properties / sessionId
      Added value: +{
      +  "description": "Target browser session ID for multi-browser routing (optional)",
      +  "type": "string"
      +}
  5. First observedv1.139.4

TDQS

A4.1/5.0
Behavior3/5

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

Annotations already declare non-destructive, idempotent, and non-read-only hints, so the bar is lower. The description adds that it animates (implying state change) and returns a structured object with success/error, but doesn't provide further behavioral detail like whether it interrupts previous animations or affects other entities. It meets minimum adequacy but adds limited context beyond annotations.

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 three concise sentences: purpose, usage, and return type. It is front-loaded with the core action, uses no filler, and every sentence adds value. It's an exemplar of minimal yet informative documentation.

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

Completeness5/5

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

Despite having 7 parameters, the tool is straightforward—animate camera to a location with optional adjustments. The description covers the action, when to use, and return shape. The schema fully documents parameters, and no output schema is needed since the description states the return object. For a simple camera animation, this is complete.

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% with each parameter having a description. The description doesn't add any parameter-specific information beyond what's in the schema, but it does mention the return object structure (success/message/error). With full schema coverage, a baseline of 3 is appropriate; the description neither adds nor detracts from parameter understanding.

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 clearly states the tool animates the camera to a geographic location, distinguishing it from sibling tools like setView (likely non-animated) and zoomToExtent (based on extent). It specifies the verb 'animate' and the resource 'camera' with geographic targeting, making the purpose unambiguous.

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 provides clear guidance: 'Use for visible navigation requested by the user.' This implies it's for explicit user-requested camera movement, differentiating from programmatic or default navigation. However, it doesn't name specific alternatives or exclusionary cases, though the sibling list indicates similar tools exist.

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