Skip to main content
Glama
putervision
by putervision

get_expected_view

Read-onlyIdempotent

Calculate visible entities from an observer's pose and field-of-view frustum cone.

Instructions

Calculate what entities should be visible from an observer's pose and field of view frustum cone.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
projectNoOptional project identifier
fov_degreesNoHorizontal field of view in degrees (default: 90)
max_distanceNoMaximum view distance in units (default: 100)
observer_positionYesObserver 3D coordinates
observer_orientationNoObserver orientation (yaw determines heading direction)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.1

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, so the agent knows the tool is safe. The description adds the notion of a 'frustum cone' which clarifies the geometric calculation, but does not explain what output is returned (e.g., a list of entity IDs or count). It also does not mention any assumptions about entity position representation or coordinate system. Since annotations cover the mutation safety, this is a pass with minor gaps.

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 a single sentence that is concise and directly states the tool's purpose. It is front-loaded with the core concept and uses domain-specific terms that are likely familiar to the target agent. No filler or redundant text.

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 tool is a read-only calculation with no output schema, the description is fairly complete for understanding its inputs and purpose. It lacks explicit details on return format or any edge cases, but with comprehensive parameter schemas and safe annotations, an agent can likely call it correctly. The breath of sibling tools suggests it's part of a simulation context, and the description fits in well. A minor gap is the absence of what 'visible' means in terms of occlusion or whether entities behind obstacles are considered, but this is acceptable for a 5-parameter 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 description coverage is 100%, so every parameter has a description in the schema. The description adds a hint about the frustum cone but does not elaborate on how parameters like fov_degrees or max_distance interact. The description effectively restates the purpose without adding new parameter-level detail. Baseline 3 is appropriate since schema is comprehensive.

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 function: calculating which entities should be visible from an observer's pose and field of view. It specifies the verb 'calculate', the resource 'entities', and the context 'observer's pose and field of view frustum cone'. It also clearly differs from sibling tools like query_entities or get_spatial_map, which are about querying or retrieving spatial info, not computing visibility.

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?

The description implies its use case: when you need to know what an observer can see given a pose and frustum. It does not explicitly contrast with alternatives like query_entities, though the purpose is clear enough that an agent could infer it. There is no mention of when not to use it, but the context is sufficiently specific to avoid major confusion. This is adequate but lacks explicit routing to alternatives.

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