Skip to main content
Glama
ModelBound
by ModelBound

workspace.setContext

Set workspace context before skill list/get/test/pipeline ops. Scopes skills to the current repo by default. Requires MODELBOUND_API_KEY.

Instructions

Set workspace context before skill list/get/test/pipeline ops. Scopes skills to the current repo by default. Requires MODELBOUND_API_KEY.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
file_hintsNoDirectories to scan for skill files.
repo_full_nameNoorg/repo parsed from git remote.
workspace_pathYesAbsolute path to workspace root.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.9.0

TDQS

A3.8/5.0
Behavior3/5

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

With no annotations, the description carries the burden but does disclose two useful traits: an auth prerequisite ('Requires MODELBOUND_API_KEY') and default scoping behavior ('Scopes skills to the current repo by default'). It omits whether the context persists, is per-session, or is idempotent – meaningful gaps for a state-setting tool.

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?

Three short sentences, front-loaded with the purpose and followed by the default-scope and auth facts. Zero filler; every clause carries operational information.

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?

For a context-setup tool with no output schema and no annotations, the description covers purpose, timing, auth, and default behavior – enough to invoke correctly. It could say more about persistence and whether callers must re-set context across sessions.

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 100%, so the schema already documents workspace_path, repo_full_name, and file_hints. The description adds no parameter-level meaning (e.g., default-scope override via file_hints) beyond what the schema provides, so baseline 3 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?

States a specific verb and resource ('Set workspace context') and names the operations it primes ('skill list/get/test/pipeline ops'). An agent can identify it as a setup step, though it doesn't name a sibling it conflicts with.

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?

Explicitly says to call it 'before skill list/get/test/pipeline ops', giving clear timing context. It does not state when NOT to call it or what happens if it's skipped or already set, so it stops short of full guidance.

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