raycast

Shape-test ray from one coord to another (line-of-sight, ground probe, 'what's in front').

Server GTAV-CLAUDE-MCP tabbedscamper/gtav-claude-mcp
Category Read
Risk class Low
Parameters 00 required

What raycast does on GTAV-CLAUDE-MCP

AI agents call raycast to retrieve information from GTAV-CLAUDE-MCP without modifying anything — typically the context-gathering step in research, monitoring, and reporting workflows, before the agent takes action elsewhere.

Why raycast needs a policy

The raycast tool queries the game environment to detect what exists along a line between two coordinates. This is inherently a read operation that retrieves collision/geometry information without side effects. While the broader server enables Execute and Write capabilities (spawn vehicles, modify memory, call natives), this specific tool only performs environmental queries.

From the tool's definition Tool performs 'shape-test ray' to check line-of-sight and probe environment—it reads spatial/geometric data from the game world without modifying state. Description indicates query operations ('line-of-sight', 'what's in front') characteristic of Read tools.

Questions about raycast

What does the raycast tool do? +

Shape-test ray from one coord to another (line-of-sight, ground probe, 'what's in front'). It is categorised as a Read tool in the GTAV-CLAUDE-MCP MCP Server, which means it retrieves data without modifying state.

How do I enforce a policy on raycast? +

Register the GTAV-CLAUDE- MCP server in PolicyLayer and add a rule for raycast: allow, deny, rate-limit, or require approval. Point your MCP client at the PolicyLayer proxy URL and the rule is enforced on every call, before it reaches GTAV-CLAUDE-MCP. Nothing to install.

What risk level is raycast? +

raycast is a Read tool with low risk. Read-only tools are generally safe to allow by default.

Can I rate-limit raycast? +

Yes. Add a rate_limit block to the raycast rule in your PolicyLayer policy. For example, setting max: 10 and window: 60 limits the tool to 10 calls per minute. Rate limits are tracked per agent session and reset automatically.

How do I block raycast completely? +

Set action: deny in the PolicyLayer policy for raycast. The AI agent will receive a policy violation error and cannot call the tool. You can also include a reason field to explain why the tool is blocked.

What MCP server provides raycast? +

raycast is provided by the GTAV-CLAUDE- MCP server (tabbedscamper/gtav-claude-mcp). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.

// LOOK UP ANOTHER SERVER

Every MCP server has a record like this.

Type a name, get the same breakdown: verified identity, auth posture, risk grade, capabilities, recommended policy.

Teams ship this data inside their own products. See what a licence covers →

// GET IN TOUCH

Have a question or want to learn more? Send us a message.

Message sent.

We'll get back to you soon.