Skip to main content
Glama

setView

Idempotent

Immediately set the 3D camera to specified coordinates and orientation without animation. Use for deterministic setup or instant view changes.

Instructions

Set the camera position immediately without animation. Use for deterministic setup or instant view changes. Returns { success: boolean, message?: string, error?: string }.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
rollNoRoll angle (degrees)
pitchNoPitch angle (degrees)
heightNoHeight (meters)
headingNoHeading angle (degrees)
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. Dates show when Glama detected each change.

  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. Changed14 schema fields changedv1.139.17
    • 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
    • changedInput schema / properties / pitch / default
      Previous value: --90New value: +-45
    • addedInput schema / properties / pitch / maximum
      Added value: +90
    • addedInput schema / properties / pitch / minimum
      Added value: +-90
    • removedInput schema / properties / roll / default
      Removed value: -0
    • addedInput schema / properties / roll / maximum
      Added value: +180
    • addedInput schema / properties / roll / minimum
      Added value: +-180
  4. Changed7 schema fields changedv1.139.14
    • changedInput schema / properties / heading / description
      Previous value: -"航向角(度)"New value: +"Heading angle (degrees)"
    • changedInput schema / properties / height / description
      Previous value: -"高度(米)"New value: +"Height (meters)"
    • 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: -"俯仰角(度)"New value: +"Pitch angle (degrees)"
    • changedInput schema / properties / roll / description
      Previous value: -"翻滚角(度)"New value: +"Roll angle (degrees)"
    • 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/5.0
Behavior3/5

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

Annotations already declare idempotentHint=true and destructiveHint=false, so the safety profile is known. The description adds that the camera position changes immediately without animation and that the function returns a structured result. This adds some behavioral detail but does not go beyond what annotations imply (e.g., no discussion of failure modes or state effects). No contradiction with 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 just two sentences, front-loaded with the core action and use case. Every word earns its place—no fluff, no repetition of schema or annotation information. Ideal conciseness for an agent consuming the description.

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?

Given the 7 params (2 required), existing output schema, and annotations, the description is complete enough: it states the purpose, immediate execution, and return shape. It could mention edge cases like invalid coordinates, but the schema's validation ranges and the output's error string cover that. Slightly more detail on when to use versus flight animations would boost completeness, but it's already sufficient.

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?

The input schema covers 100% of parameters with descriptions (e.g., roll, pitch, height, heading, etc.), so the description does not need to explain parameter meanings. The tool description adds no extra parameter context, but the baseline 3 is appropriate because the schema fully documents the parameters.

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's purpose: 'Set the camera position immediately without animation.' The verb 'set' and resource 'camera position' are specific, and the contrast with animated alternatives (like flyTo) is implicit. It distinguishes from sibling tools by emphasizing immediacy and determinism.

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 explicitly advises 'Use for deterministic setup or instant view changes,' providing clear guidance on when to invoke the tool. It does not name alternatives, but the phrase 'without animation' implicitly distinguishes it from flyTo, and the context with siblings makes the intended usage clear. Minor omission: no explicit 'do not use for animated transitions,' but the guidance is adequate.

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

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/gaopengbin/cesium-mcp'

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