Skip to main content
Glama

post-detect-inferences

Detect and extract visual features from images to generate mode maps for AI image processing, supporting modalities like canny, depth, pose, and segmentation.

Instructions

Advanced precision in image generation by transforming visual data from input images into mode maps.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
originalAssetsNoIf set to true, returns the original asset without transformation
dryRunNo
imageYesThe image to be used to detect. Must reference an existing AssetId or be a data URL.
modalityYesModality to detect
lowThresholdNoLow threshold for Canny detector
removeBackgroundNoRemove background for Grayscale detector
minThresholdNoMinimum threshold for Grayscale conversion
maxThresholdNoMaximum threshold for Grayscale conversion
factorNoContrast factor for Grayscale detector
highThresholdNoHigh threshold for Canny detector
keypointThresholdNoHow polished is the surface? 0 is like a rough surface, 1 is like a mirror
Behavior2/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It mentions 'transforming visual data' which implies a processing operation, but doesn't specify whether this is read-only or mutating, what the output format is, performance characteristics, error conditions, or authentication needs. The description is too high-level to provide meaningful behavioral context for safe invocation.

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 a single sentence that efficiently states the tool's purpose. It's appropriately sized for what it communicates, though it could be more informative. There's no wasted verbiage or unnecessary elaboration, making it structurally sound if minimal.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a tool with 11 parameters, no annotations, and no output schema, the description is insufficiently complete. It doesn't explain what 'mode maps' are, what the transformation produces, error handling, or practical use cases. Given the complexity implied by multiple modality options and numerous parameters, the description should provide more context about the tool's behavior and output.

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 91%, so the schema already documents most parameters well. The description adds no additional parameter information beyond what's in the schema - it doesn't explain how parameters interact, provide examples, or clarify edge cases. With high schema coverage, the baseline score of 3 is appropriate since the description doesn't add value but also doesn't detract from the schema's documentation.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states the tool transforms visual data into mode maps for advanced precision in image generation, which gives a general purpose. However, it's vague about what 'mode maps' are and doesn't clearly distinguish this from sibling tools like 'post-segment-inferences' or 'post-controlnet-inferences' that also process images. The description lacks specificity about the exact transformation being performed.

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 explicit guidance is provided on when to use this tool versus alternatives. The description doesn't mention prerequisites, ideal use cases, or contrast with sibling tools like 'post-caption-inferences' or 'post-describe-style-inferences'. Usage is implied through the mention of 'image generation' and 'mode maps', but no concrete scenarios or exclusions are stated.

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/pasie15/scenario.com-mcp-server'

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