Skip to main content
Glama

devtune_get_connection_context

Read-onlyIdempotent

Read which project this connection is bound to and what it can use now. Returns project id, name, paused and its own domains (domain and type), credential type (api_key or oauth), scopes and account features. scopes are what the credential may call at this moment: a paused project keeps only read scopes, and an OAuth connection keeps only what both the approved grant and the user's current team permissions allow. features are attributeMatch (Positioning and Accuracy), agentPicks (Agent Picks), contentDrafts (action drafts), mcpCodeMode and mcpCodeModeWrites. An operation needs its scope and, where it has one, its feature; neither bypasses human approval, credits or the operation's own checks, so a call can still be refused. checkedAt is when access was read. Available to every credential.

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

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.1/5.0
Behavior5/5

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

Beyond the readOnly/idempotent annotations, it explains non-obvious mechanics: a paused project keeps only read scopes, an OAuth connection is limited to the intersection of approved grant and current team permissions, and the feature keys are mapped to product surfaces. It also discloses that scope+feature do not bypass human approval, credits, or operation checks, so a call can still be refused, and states it is available to every credential.

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?

Purpose is front-loaded in the first sentence, followed by the return payload and then the interpretive rules for scopes and features. It is dense and long for a zero-param read tool, but nearly every clause carries meaning; the enumeration of feature keys is the only mildly list-like stretch.

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

Completeness5/5

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

There is no output schema, so the description must carry the return shape — and it does, naming project id, name, paused, domains (domain and type), credential type, scopes, features, and checkedAt. Combined with the semantic rules for interpreting scopes and features, an agent has everything needed to read and reason about the response.

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 there is no parameter semantics to document; the description appropriately spends its words on return-field semantics instead. Baseline 4 applies.

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 opens with a specific verb+resource: 'Read which project this connection is bound to and what it can use now', which is a distinct capability from the many analytics/get_* siblings. It is clear about scope (project binding plus effective permissions), though it does not explicitly contrast itself with any sibling tool.

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 implied rather than stated: an agent can infer this is the tool to call before attempting an operation to learn which scopes/features are available. The note that 'an operation needs its scope and, where it has one, its feature' hints at the workflow, but there is no explicit 'call this when…' trigger, ordering advice, or named alternative.

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