Skip to main content
Glama

Get JavaScript bridge reference

get_twinr_js_bridge_reference
Read-onlyIdempotent

List every JavaScript function the Twinr mobile app injects into the page, with its arguments and return shape. Use this to check a function's exact name and signature.

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": "get_twinr_js_bridge_reference"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare a safe, idempotent, closed-world read, so the description does not need to restate safety. It does add value by disclosing the return content: every injected function together with its arguments and return shape. It says nothing about arrangement or how exhaustive/versioned that listing is, which keeps it from a 5.

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 tightly written sentences with no filler. What is returned comes first and the use case follows, making it easy to scan.

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?

With no output schema present, the description carries the burden of describing the response, and it does so at a high level (functions, arguments, return shape). For a zero-parameter lookup tool that is nearly sufficient; only the scope of the catalog and its versioning are left implicit.

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

Parameters4/5

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

The tool takes zero parameters, so the baseline is 4; there is nothing for the description to disambiguate. The description correctly implies the call takes no arguments and returns the full reference set.

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?

Names a specific verb and resource: it lists every JavaScript function the Twinr mobile app injects into the page, including arguments and return shape. That is concrete and unambiguous. It stops short of explicitly separating itself from doc-oriented siblings such as read_twinr_doc or search_twinr_docs, though the 'exact name and signature' framing hints at the distinction.

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?

'Use this to check a function's exact name and signature' gives a clear condition that selects this tool over browsing docs. It does not name the alternative tools or state when not to use it, so it falls short of full routing guidance.

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