Skip to main content
Glama

chat_with_vision

Analyze images with a Grok vision model: submit a prompt and image paths or URLs to receive detailed visual analysis.

Instructions

Analyze one or more images with a Grok vision model.

Args: prompt: Question or instruction about the image(s). session: Optional session name for persistent history in chats. model: Vision-capable Grok model (default grok-4.3). image_paths: Local image file paths to analyze. image_urls: Public image URLs to analyze. detail: Image detail level. One of "auto", "low", or "high".

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
modelNogrok-4.3
detailNoauto
promptYes
sessionNo
image_urlsNo
image_pathsNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
textNoHuman-formatted output (includes footers, citations, cost summary).
modelYesActual executing model ID (e.g. 'grok-4.5').
planeNoAPI
routeYesHigh-level route (fast/agentic/research/etc.).
tokensNoTotal tokens consumed.
profileNoInternal routing profile.
sessionNoPersistent session name.
cost_usdNoExact USD cost from xAI billing metadata.
responseYesRaw model output or primary content.
citationsNoNative xAI/X citations with URL + snippet.
latency_secNo
response_idNoServer-side stateful ID for continuation.
finish_reasonNounknown
reasoning_effortNoGrok 4.5+ native reasoning level.
Behavior3/5

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

No annotations are provided, so the description must fully disclose behavior. It mentions session persistence for history and detail levels but does not cover rate limits, error handling, file size/format constraints, or whether the tool is stateful or read-only. The model default is noted, but safety implications are absent.

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?

The description is concise and well-structured, starting with a clear purpose sentence followed by parameter definitions in a bullet-like format. Every line adds value, no redundant statements.

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?

Given the tool's complexity (6 parameters, output schema exists but not shown), the description covers basic parameter semantics but lacks context on file size limits, supported image formats, behavior with both paths and URLs, and what the output looks like. It is adequate but not comprehensive.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description adds significant meaning: prompt is 'Question or instruction about the image(s)', session is 'for persistent history', model is 'Vision-capable Grok model (default grok-4.3)', image_paths and image_urls are distinguished, and detail specifies allowed values. This goes well beyond the schema's type-only definitions.

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: 'Analyze one or more images with a Grok vision model.' It uses a specific verb (analyze) and resource (images with vision model), distinguishing it from siblings like 'chat' (no vision) or 'chat_with_files' (general file handling).

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No guidance is provided on when to use this tool versus alternatives such as 'chat' or 'chat_with_files'. There is no mention of prerequisites, exclusions, or scenarios where this tool is preferred. The description only lists parameters without contextual advice.

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/djtelicloud/grok-mcp-server'

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