Skip to main content
Glama

Test deploy (cds deploy to throwaway sqlite)

cap_deploy_check

Deploys CAP model to a throwaway SQLite database and loads CSV data to catch column mismatches, malformed data, and duplicate keys that compile-time checks miss.

Instructions

Third CAP validation layer: deploys the model to a throwaway sqlite database and loads the db/data CSVs. Catches what cds compile cannot: CSV columns that do not exist on the entity, malformed data and duplicate keys. Requires @cap-js/sqlite installed in the project. The throwaway database is deleted afterwards.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
projectPathYesCAP project root path with @cap-js/sqlite available
Behavior4/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 disclosure. It does well: it discloses that it loads db/data CSVs, that it requires @cap-js/sqlite, and critically that the throwaway database is deleted afterwards (side effect disclosure). It does not detail error/return behavior, but for a validation tool the key side effects are well covered.

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?

Three sentences, zero waste. Every sentence earns its place: what it does, what it catches vs compile, and the prerequisite plus cleanup behavior. Front-loaded with the verb and purpose, then layers constraints and side effects efficiently.

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?

For a single-parameter validation tool with no output schema, this is quite complete. It explains the tool's role in the validation pipeline (third layer), its inputs, prerequisite, and cleanup behavior. It could mention the success/failure signaling (how the agent learns validation passed), but that may be obvious from deployment semantics.

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 100%, with the single projectPath parameter already documented as 'CAP project root path with @cap-js/sqlite available'. The description reinforces the requirement that @cap-js/sqlite must be present in the project but adds minimal additional meaning beyond the schema. Baseline 3 is appropriate given high schema coverage.

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 verb (deploys), the resource (model to a throwaway sqlite database), and its specific role as a 'third CAP validation layer'. It explicitly distinguishes from the sibling `cds compile` tool by stating what it catches that compile cannot (CSV column mismatches, malformed data, duplicate keys). The title 'Test deploy' reinforces the primary action.

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 implies this is a validation tool distinct from `cds compile` and the sibling `cap_validate`/'cap_lint', and it explicitly names a prerequisite (@cap-js/sqlite installed). However, it doesn't explicitly state when NOT to use it or name alternative tools as a fallback path, leaving some ambiguity around the validation layer ordering.

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/automatizatodo/capforge'

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