Skip to main content
Glama
latent-defense

Latent Defense MCP Server

Official

create_mapping_run

Directly create a mapping run with full control over scope, bypassing map-trigger errors. Specify the resources to map: repositories, cloud accounts, Kubernetes clusters, domains, and more.

Instructions

Create a mapping run directly on the mapper, bypassing map-trigger.

Use this instead of trigger_scan when you need full control over scope or when map-trigger is returning errors.

Args: description: What to map and why. repositories: JSON array of repository URL strings. cloud_accounts: JSON array of {"provider", "account_id", "regions"} objects. kubernetes_clusters: JSON array of kubeconfig context strings. domains: JSON array of domain strings to probe. web_endpoints: JSON array of web endpoint URLs to probe. cidrs: JSON array of CIDR strings to probe. exclude_patterns: JSON array of glob patterns to exclude. credentials_profile: Credential broker profile (default: "default"). model: LLM model for mapping agents (default: "claude-sonnet-4-6"). dry_run: If true, validate the request without executing.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
descriptionYes
repositoriesNo[]
cloud_accountsNo[]
kubernetes_clustersNo[]
domainsNo[]
web_endpointsNo[]
cidrsNo[]
exclude_patternsNo[]
credentials_profileNodefault
modelNoclaude-sonnet-4-6
dry_runNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior3/5

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

With no annotations provided, the description carries the burden of behavioral disclosure. It explains bypassing map-trigger but does not describe side effects, permissions, or whether the operation is long-running. Lacks detail on what happens post-creation.

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 very concise: one summary line, one usage guideline, and a cleanly formatted argument list. No unnecessary words or redundancy.

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's complexity (11 params, output schema exists), the description covers the essential context. Comparison with trigger_scan is sufficient; other siblings are distinct. Could include a note about prerequisites or that it's an advanced operation, but mostly complete.

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 0% but the docstring adds semantic value for most parameters (e.g., 'JSON array of repository URL strings'). Describes format and purpose, though some parameters like credentials_profile could use more detail.

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 creates a mapping run directly on the mapper, bypassing map-trigger, distinguishing it from trigger_scan mentioned explicitly. Verb 'Create' and resource 'mapping run' are specific and unambiguous.

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?

Provides explicit guidance: 'Use this instead of trigger_scan when you need full control over scope or when map-trigger is returning errors.' This tells the agent exactly when to prefer this tool over a key sibling.

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/latent-defense/mcp-server-public'

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