Skip to main content
Glama

ivd_check_placement

Validates that an IVD artifact is in the framework's canonical location beside its code, catching misplaced files early.

Instructions

Validate that an IVD artifact is in the correct canonical location per framework (co-locate with code).

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "artifact_path": "<artifact_path>"
    },
    "name": "ivd_check_placement"
  }
}

Input Schema

NameRequiredDescriptionDefault
project_rootNoOptional path to repo root.
artifact_pathYesPath to the artifact (relative to project_root, or absolute)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv3.1.2

TDQS

B3.1/5.0
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 read-only inspection but never states that nothing is modified, what a failed placement check reports, whether the framework rules are configurable, or what happens if the artifact does not exist.

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?

A single front-loaded sentence with zero filler; the verb, resource, and validating criterion arrive in order. Nothing can be trimmed without losing substance.

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?

For a two-parameter, read-mostly validation tool with a fully documented schema, the description is minimally sufficient but thin. With no annotations and no output schema, an agent still cannot tell the result format, failure semantics, or whether a misplacement results in a report or an error.

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 coverage is 100%, so both parameters are already documented with their relative-vs-absolute path semantics. The parenthetical '(co-locate with code)' adds a little meaning about what the framework considers canonical, but nothing parameter-specific beyond the schema.

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?

States a specific verb (Validate) and resource (IVD artifact) plus the criterion: correct canonical location per framework, co-located with code. An agent can tell this is a placement/location check rather than a content or constraint check, though it never names how it differs from nearby validation tools such as ivd_validate or canon_check.

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?

The description gives no when-to-use or when-not-to-use guidance and names no alternative. The only cue is implicit: 'placement' checks are for location conformance rather than content validation, which the agent must infer.

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