Skip to main content
Glama

get_xr_performance_metrics

Read-only

Retrieve real-time XR performance metrics such as frame rate, GPU/CPU usage, thermal state, and memory usage to identify performance issues and optimize mobile XR experiences.

Instructions

Gets real-time XR performance metrics including frame rate, frame times, GPU/CPU usage, thermal state, and memory usage. Essential for optimizing mobile XR experiences.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
averageOverFramesNoNumber of frames to average metrics over
includeCpuMetricsNoInclude CPU utilization by thread
includeGpuMetricsNoInclude GPU utilization and timing
includeFrameMetricsNoInclude FPS, frame times, dropped frames
includeThermalStateNoInclude device thermal throttling state
includeMemoryMetricsNoInclude memory usage statistics
includeTrackingMetricsNoInclude tracking quality metrics
Behavior3/5

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

Annotations already declare readOnlyHint=true, so the read-only nature is covered. The description adds that metrics are 'real-time' but does not disclose other behavioral traits (e.g., whether a running XR session is required, if data comes from device or simulation). Not contradictory, but minimal added value 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.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two sentences, front-loaded with the core purpose. The second sentence is somewhat generic but not wasteful. Could be slightly more efficient, but overall concise.

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?

No output schema, but description lists the types of metrics. It does not mention the return format or clarify that all parameters are optional (though defaults are in schema). Adequate but could provide more operational context.

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?

All 7 parameters have 100% schema coverage with descriptions and defaults. The tool description does not add any extra meaning beyond the schema, so baseline score of 3 is appropriate.

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?

Clearly states the tool 'gets real-time XR performance metrics' and lists specific metrics (frame rate, GPU/CPU usage, etc.), making the purpose unambiguous and distinct from sibling tools.

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?

Mentions it is 'essential for optimizing mobile XR experiences,' implying when to use, but does not specify when not to use or provide alternatives like profile_xr_scene. Lacks explicit guidance on prerequisites or context.

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

Install Server

Other Tools

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/joel-wehr/unity-mcp'

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