Skip to main content
Glama
rbutera

harness-bridge

by rbutera

Codex Performance Plan

codex_plan_perf

Analyze code performance to identify bottlenecks and create a prioritized optimization plan with expected impact.

Instructions

Ask Codex to analyze performance and create an improvement plan. Identifies bottlenecks, proposes ranked optimizations with expected impact.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
targetYesWhat to optimize: function, module, or pipeline path
contextNoAdditional context about usage patterns
metricsNoPerformance metrics to focus on
threadIdNoContinue a previous Codex conversation: pass the threadId returned by an earlier call. Omit to start a fresh thread.
constraintsNoConstraints: must not increase binary size, etc.
workingDirectoryNo

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. Changed2 schema fields changedv1.0.0
    • addedInput schema / properties / threadId
      Added value: +{
      +  "description": "Continue a previous Codex conversation: pass the threadId returned by an earlier call. Omit to start a fresh thread.",
      +  "type": "string"
      +}
    • removedInput schema / properties / threadKey
      Removed value: -{
      -  "description": "Optional key enabling multi-turn continuity. Calls sharing a key use the same harness conversation and are serialized. Omit it for independent one-shot calls, including parallel reviews.",
      -  "type": "string"
      -}
  2. First observedv0.4.0

TDQS

A3.5/5.0
Behavior3/5

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

No annotations are provided, so the description carries the disclosure burden. It discloses the output behavior—identifying bottlenecks and proposing ranked optimizations with expected impact—which suggests a non-mutating planning task, but it never explicitly rules out writing files, invoking side effects, or requiring special permissions.

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 focused sentences with no wasted words. It front-loads the purpose and then adds the key output details, making it easy for an agent to scan and understand.

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 description explains the purpose and output adequately, while the schema covers most parameters. However, with no annotations, no output schema, and sibling tools present, the description leaves usage-selection and operational/side-effect context implicit, so it is not fully 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?

The description adds little parameter-level meaning beyond the high-quality schema, which already documents target, context, metrics, threadId, and constraints. Since schema description coverage is 83%, the baseline of 3 is appropriate; only workingDirectory lacks a schema description.

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 a specific action and resource: analyze performance and create an improvement plan. It further distinguishes itself by naming outputs like bottlenecks and ranked optimizations, making it distinguishable from the code-review, query, explain, and implement siblings.

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 implies a performance-analysis use case but provides no explicit guidance on when to choose this tool over alternatives such as codex_review_plan or codex_query. There are no exclusions, prerequisites, or criteria for picking this tool versus the other Codex siblings.

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

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/rbutera/harness-bridge'

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