Skip to main content
Glama

Trace Application Feature

trace_application_feature
Read-onlyIdempotent

Traces a typed literal seed through an authenticated JavaScript Application Graph, preserving static, native, runtime, inferred, and unknown authorities while returning complete or selected trace.

Instructions

Trace a typed literal seed through every reachable part of an authenticated JavaScript Application Graph supplied as inline Evidence or exact same-session retained references. Original static, native, passive-runtime, inferred, and unknown authorities remain distinct; native addon handoffs never open a provider or execute the application. An optional view returns selected facts and retains the complete trace.

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": {
      "seed": "<seed>",
      "application": "<application>"
    },
    "name": "trace_application_feature"
  }
}

Input Schema

NameRequiredDescriptionDefault
seedYes
viewNoOmitted returns the complete trace. summary or a feature-trace page retains the complete trace in this session first; query it again with inspect_analysis_view and the returned parent_evidence_id.
directionNoDirection in which to traverse or compare relationships.
applicationYes
semantic_pageNoPage retained semantic label matches when a string seed has no application match. Defaults to offset 0 and limit 64.
native_observationsNo

Output Schema

NameRequiredDescriptionDefault
subjectYes
providerYes
authorityYes
locationsYes
operationYes
confidenceYes
parametersYes
raw_resultYes
environmentYes
evidence_idYes
limitationsYes
evidence_linksYes
predicate_typeYes
analysis_profileYes
caller_input_pathNo
normalized_resultYes
caller_input_pathsNo
relationship_coverageYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.25.0

TDQS

B3.4/5.0
Behavior4/5

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

Annotations already establish read-only, idempotent, non-destructive, closed-world behavior. The description adds meaningful behavioral context beyond that: authorities remain distinct across static, native, passive-runtime, inferred, and unknown sources, and native addon handoffs never open a provider or execute the application. It also discloses that an optional view retains the complete trace.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is three sentences, front-loaded with the core operation, and each sentence adds purpose, behavioral constraint, or view behavior. The wording is dense with domain jargon such as 'typed literal seed' and 'authorities', which slightly reduces immediate clarity but does not waste space.

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 six-parameter tool with nested objects and an output schema, the description covers the core purpose and important execution-safety behavior. However, it omits usage guidance relative to siblings and leaves several parameter semantics and authentication prerequisites unstated, so it is adequate but not complete.

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 only 50%, so the description needs to compensate. It clarifies that the seed is a typed literal and that the application graph is supplied as inline Evidence or exact same-session retained references, but it does not explain direction or native_observations, and the schema itself leaves seed and native_observations undescribed.

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 states a specific verb and scope: tracing a typed literal seed through every reachable part of an authenticated JavaScript Application Graph. It is distinguishable from a general application analysis tool, though it never names a sibling or defines what a 'feature' trace means relative to them.

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?

There is no explicit when-to-use or when-not-to-use guidance, and no named alternative such as analyze_javascript_application or port_trace. The only usage constraint is that the graph must be supplied inline or via exact same-session retained references, which is a precondition rather than selection guidance.

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