Skip to main content
Glama

Show the active project

project_info
Read-only

Reports the active project’s name, baseline, format, recording output folder, and folder source; returns null values when no project file exists.

Instructions

Says which project is active: its name, baseline and format, the folder its recordings go to and where that folder comes from (the project file, METAL_TRACE_OUT or the default ./perf-runs). Without a project file, project and baseline are null.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "project_info"
  }
}

Input Schema

NameRequiredDescriptionDefault
fieldsNoresult paths to keep, dotted: common.frame_pacing

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.28.0
    • addedInput schema / properties / fields
      Added value: +{
      +  "description": "result paths to keep, dotted: common.frame_pacing",
      +  "items": {
      +    "type": "string"
      +  },
      +  "type": "array"
      +}
  2. Addedv0.24.0

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so the bar is lower, yet the description adds real context beyond them: the folder's provenance chain (project file, METAL_TRACE_OUT env var, then ./perf-runs default) and the null outcome when no project file exists. That pre-empts an agent misreading nulls as an error. It does not discuss field filtering behavior.

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?

Two sentences, no filler, with the primary identification (which project is active) front-loaded and the fallback/null case trailing as secondary detail. Every clause conveys information an agent cannot get from the annotations or schema.

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?

An output schema exists, so the description need not enumerate return values, and it still covers the key ambient states: no project file yields nulls, and the output folder has a defined fallback order. Combined with read-only annotations, an agent has what it needs to call this correctly; only the fields-projection interaction is left unaddressed.

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%, so the single `fields` parameter is already documented in the schema with its dotted path syntax and an example. The description mentions name/baseline/format/folder as outputs but never ties them to the `fields` projection parameter, so it adds no meaning beyond the schema. Baseline 3 applies.

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 names a specific resource and enumerates exactly what is reported: active project name, baseline, format, and the recordings folder with its resolution order. That is far more specific than the title alone. It does not explicitly contrast itself with any sibling, so it stops short of a 5.

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

Usage Guidelines3/5

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

The description implies the tool is a discovery/status read to be used before other operations, and it usefully states the no-project-file case where project and baseline are null. However, it never says when to reach for this versus related tools such as perf_baseline or perf_runs, and gives no exclusions.

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