Skip to main content
Glama

isaref.com ISA, Register, Timing & Chip Reference

compare_insn_timings

Compare latency, reciprocal throughput, uops, and ports for a mnemonic across chips.

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": {
      "mnemonic": "<mnemonic>"
    },
    "name": "compare_insn_timings"
  }
}

Input Schema

NameRequiredDescriptionDefault
archNo
mnemonicYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.2/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden. It helpfully discloses what information the comparison yields (four named metrics), but says nothing about read-only nature, error behavior for unknown mnemonics, result shape, or how many chips are included by default.

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 front-loaded sentence with no filler: the verb, the measured quantities, and the comparison axis all appear before any qualifying phrase. Nothing can be removed without losing meaning.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With no annotations and no output schema, the description must cover behavior and returns, yet it omits the arch parameter semantics, the result format, and edge cases such as an unrecognized mnemonic. Adequate as a one-line summary but thin for a two-parameter comparison tool whose schema is undocumented.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% and the description only glosses the required 'mnemonic' parameter implicitly. The 'arch' parameter is entirely unexplained – it is ambiguous whether it narrows the comparison to one architecture or is ignored, which materially affects how an agent should call the tool.

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 (compare) and enumerates the exact resources measured (latency, reciprocal throughput, uops, ports) scoped to a mnemonic across chips. It is clearly distinct in substance from siblings like decode_word or get_isa_item, though it never names or contrasts them explicitly.

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?

Usage is only implied by the phrase 'across chips' – an agent can infer this is the tool for cross-microarchitecture timing comparison, but there is no explicit when-to-use, when-not-to-use, or pointer to alternatives such as get_chip_profile for single-chip data.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources