Skip to main content
Glama
jnjaeschke

pernosco-mcp

by jnjaeschke

watch_variable

Trace all writes to any C++ variable by evaluating its expression. Obtain a complete write history to understand value changes during execution.

Instructions

Get the complete write history of a C++ variable. Evaluates the expression to find its memory address, then traces all writes. Simpler than manually using evaluate + watchpoint_history.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
expressionYesC++ expression for the variable, e.g. "this->mURI" or "aLoadState"
typeYesC++ type of the value, e.g. "uint64_t", "int32_t", "nsCOMPtr<nsIURI>"
limitNoMax results per direction (default 100)
Behavior3/5

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

With no annotations, the description carries the full burden. It explains the process: 'Evaluates the expression to find its memory address, then traces all writes.' This is adequate but lacks details on limitations, error handling, or scope constraints.

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?

The description is two sentences, front-loaded with the core action, and every word adds value. No redundancy or filler, making it optimally concise.

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?

Given no output schema, the description could elaborate on return format. It covers the process and a usage hint but leaves agents guessing about the output structure. Adequate but not exceptional.

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 baseline is 3. The description adds examples for expression and type but repeats schema info. It does not significantly enhance parameter meaning or constraints.

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 'Get the complete write history' and the resource 'a C++ variable'. It distinguishes from siblings by noting it's 'Simpler than manually using evaluate + watchpoint_history', making the purpose unambiguous.

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 a clear alternative ('evaluate + watchpoint_history') and implies when to use this tool for simplicity. However, it lacks explicit when-not-to-use instructions or deeper context about prerequisites.

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/jnjaeschke/pernosco-mcp'

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