Skip to main content
Glama

register_type_mappings

Register one or more type mappings between projects to link related types and identify all affected files when a type changes. Reduces multiple tool calls into a single operation.

Instructions

Register one or more type mappings between projects. Accepts either a single mapping object OR an array of mappings. For example, if 'StationCreateDto' in the backend corresponds to 'StationFormSchema' in mobile, register that mapping here. Then when you change one, you can check what else needs updating. When registering multiple mappings, this reduces 50+ tool calls to 1, providing massive token savings.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
mappingsYesArray of type mapping objects to register (or pass a single mapping object directly)
Behavior2/5

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

No annotations are provided, so the description carries the full burden. It implies a write operation ('register') but does not disclose side effects such as persistence semantics, duplicate handling, prerequisites (e.g., whether projects must be pre-registered), idempotency, or what happens on failure. This is a significant gap for a mutation tool.

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?

Four sentences each earn their place: purpose, input flexibility, a concrete example, and a clear benefit. It is front-loaded and concise, with no fluff. The structure flows naturally from what to how to why.

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?

The tool has no output schema and no annotations, so the description must cover return values, error conditions, and behavioral nuances. It does not mention what the tool returns, whether it overwrites existing mappings, or whether it requires pre-existing projects. For a mutation tool, these gaps make the description incomplete.

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?

The schema already covers 100% of parameter details, including the ability to pass a single mapping object or array via the mappings parameter description. The tool description adds a clarifying example but no new semantic meaning beyond what the schema provides. Thus, baseline 3 is appropriate.

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 begins with a clear verb+object: 'Register one or more type mappings between projects.' It distinguishes from sibling tools like suggest_type_mappings and check_type_mapping by explicitly framing this as the action to record known mappings. The example with StationCreateDto/StationFormSchema makes the purpose concrete.

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

Usage Guidelines4/5

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

The description provides clear context for when to use: 'Then when you change one, you can check what else needs updating.' It also highlights the batch efficiency benefit, implying use when registering multiple mappings. However, it does not explicitly mention alternatives or when NOT to use this tool, so it stops short of a 5.

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/punic-pillars/project-knowledge-mcp'

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