Skip to main content
Glama
MCP Visual
by Mauricioo67

Get project targets

get_project_targets

Returns a project's target frameworks and output type from its project path, helping you verify .NET build targets and output configuration before building or inspecting dependencies.

Instructions

Returns the target frameworks and output type of a project.

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": {
      "projectPath": "<projectPath>"
    },
    "name": "get_project_targets"
  }
}

Input Schema

NameRequiredDescriptionDefault
projectPathYesProject path relative to the workspace root, e.g. src/Api/Api.csproj

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.2.2

TDQS

B3.1/5.0
Behavior2/5

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

With zero annotations, the description carries the full behavioral burden and says almost nothing: it does not confirm the operation is read-only and side-effect free, nor what happens if projectPath is invalid, missing, or outside the workspace. The only behavioral detail is the return content, which is already covered by the existing output schema.

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 tight sentence with no filler, and the most important information (what is returned) is front-loaded. Nothing is redundant enough to cut.

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, the single parameter is fully documented in the schema, and the output schema means return values need no prose explanation. However, absent annotations and any usage framing, the description leaves the agent without enough context to choose this over get_project.

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%, and the schema itself documents projectPath with an example (src/Api/Api.csproj), so the description adds no parameter meaning. Per the high-coverage baseline, 3 is appropriate.

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 ("Returns") and precise resource content ("target frameworks and output type of a project"), which implicitly separates it from get_project_dependencies and get_project_references. It never explicitly contrasts itself with get_project, which likely also describes a project, so the sibling boundary is inferred rather than stated.

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?

No when-to-use, when-not-to-use, or alternative-tool guidance is given. An agent must guess whether to call this or get_project to learn about a project, and no prerequisites (e.g., project must be restored/loaded) are mentioned.

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