Skip to main content
Glama
doitintl

DoiT MCP Server

Official
by doitintl

post_insight_result

Create or update custom insight metadata (title, description, categories, status, remediation links) for public-api owned insights in DoiT.

Instructions

Use this when the user wants to create a new custom insight or update an existing one's metadata (title, description, categories, status, remediation links). Only insights owned by the 'public-api' source can be managed. This manages the insight's metadata only — the individual affected resources are managed separately (post_insight_resource_results). Do NOT use this only to change an insight's status (use update_insight_status).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
keyYesA unique key identifying the insight within the source. Used as both the path key and body key.
titleYesThe display title of the insight.
sourceNoThe source that owns the insight. Only 'public-api' insights can be managed via this endpoint.public-api
statusNoThe display status of the insight.
reportUrlNoURL to an external report related to this insight.
categoriesYesOne or more categories this insight belongs to. Possible values: FinOps, Security.
cloudProviderYesThe cloud provider associated with the insight (e.g. 'aws', 'gcp', 'azure').
dismissalDetailsNoDetails for why the insight was dismissed (only relevant when status is 'dismissed').
shortDescriptionYesA brief summary of the insight.
easyWinDescriptionNoA description of why this insight is considered an easy win.
cloudFlowTemplateIdNoID of a CloudFlow template that can automate the remediation of this insight.
detailedDescriptionMdxNoA detailed description of the insight in MDX format.
Behavior4/5

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

Annotations indicate readOnlyHint=false (mutation) and destructiveHint=false (not destructive). The description adds context: ownership constraint ('Only insights owned by the 'public-api' source can be managed'), metadata-only scope, and explicit separation from resource results. It doesn't state error handling or idempotency, but with annotations covering safety profile, this is adequate.

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?

Description is three sentences: first states primary use, second defines ownership and scope, third provides alternative. It's front-loaded with the main purpose. Slightly wordy but every sentence earns its place, providing crucial disambiguation. No fluff.

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 12 parameters and 5 required, the description covers the key decision points: ownership, metadata vs resources, status alternation. It doesn't detail all params but schema covers them. No output schema exists, but description doesn't promise return format, which is acceptable. The core behaviors are adequately captured for an agent to invoke correctly.

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 coverage is 100%, so parameters are already well-documented. The description adds specific context by listing the metadata fields (title, description, categories, status, remediation links) and mentions 'remplenishment links' (though not a direct param name, it maps to cloudFlowTemplateId or reportUrl). It reinforces that status can be updated but not solely, adding semantic nuance beyond the schema.

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 dual purpose: create a new custom insight or update metadata (title, description, categories, status, remediation links). It explicitly identifies the resource and scope (insights owned by 'public-api' source), distinguishing it from sibling tools like post_insight_resource_results and update_insight_status.

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

Usage Guidelines5/5

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

The description begins with 'Use this when...' and explicitly states when not to use it: 'Do NOT use this only to change an insight's status (use update_insight_status).' It also distinguishes from post_insight_resource_results for managing affected resources. Provides clear alternatives and exclusions.

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/doitintl/doit-mcp-server'

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