Skip to main content
Glama
kl987456
by kl987456

export_code_map

Read-onlyIdempotent

Export a strict source-free map of indexed paths, hashes, symbols, and graph edges to share structural code data without exposing raw source.

Instructions

Export a strict source-free map of indexed paths, hashes, symbols, and graph edges; never includes raw source.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
repo_pathYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

B3.3/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, and destructiveHint=false. The description adds meaningful behavioral context by stating the export is 'strict source-free' and 'never includes raw source,' which is useful for privacy and security decisions. It does not cover authentication, rate limits, or output structure, but it clearly exceeds the annotation baseline.

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 definition is a single front-loaded sentence with no filler. It communicates the main action, scope, and key constraint efficiently.

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?

The tool is simple and read-only, and the description conveys what the exported map contains. However, it omits any explanation of the required repo_path parameter and does not describe the return format, which matters because there is no output schema.

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

Parameters2/5

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

The schema has 0% description coverage for the single required parameter 'repo_path', and the description does not explain what the parameter should be or how it is interpreted. The parameter name is somewhat self-explanatory, but the description fails to compensate for the missing schema documentation.

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

Purpose4/5

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

The description uses a specific verb ('Export') and resource ('code map'), and it clarifies the map's contents (paths, hashes, symbols, graph edges) and the key constraint that it is source-free. It does not explicitly name a sibling alternative, but the purpose is clear.

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?

There is no explicit guidance on when to use this tool versus alternatives such as ingest_code_map or map_status. The description only implies that a map must already be indexed, leaving the agent to infer the correct context.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.