Skip to main content
Glama

watch_dependency

Idempotent

Save a private service/path dependency and bounded task context. Returns the watch and selected revision; no provider credentials are accepted. Requires the connected identity. Preserve request_id and payload on retries.

Input Schema

NameRequiredDescriptionDefault
path_idNo
request_idYes
service_idYes
task_contextNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / task_context / properties / caller_profile / properties / provider_access / items / properties / entitlement
      Added value: +{
      +  "additionalProperties": false,
      +  "properties": {
      +    "available": {
      +      "$ref": "#/properties/task_context/properties/caller_profile/properties/provider_access/items/properties/runtime/properties/available"
      +    },
      +    "checked_at": {
      +      "$ref": "#/properties/task_context/properties/caller_profile/properties/provider_access/items/properties/runtime/properties/checked_at"
      +    },
      +    "detail": {
      +      "maxLength": 300,
      +      "type": "string"
      +    },
      +    "evidence_ref": {
      +      "$ref": "#/properties/task_context/properties/caller_profile/properties/provider_access/items/properties/runtime/properties/evidence_ref"
      +    },
      +    "expires_at": {
      +      "$ref": "#/properties/task_context/properties/caller_profile/properties/provider_access/items/properties/runtime/properties/expires_at"
      +    },
      +    "status": {
      +      "$ref": "#/properties/task_context/properties/caller_profile/properties/provider_access/items/properties/runtime/properties/status"
      +    }
      +  },
      +  "required": [
      +    "status"
      +  ],
      +  "type": "object"
      +}
    • addedInput schema / properties / task_context / properties / caller_profile / properties / provider_access / items / properties / network
      Added value: +{
      +  "$ref": "#/properties/task_context/properties/caller_profile/properties/provider_access/items/properties/runtime"
      +}
  2. Added

TDQS

A3.5/5.0
Behavior4/5

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

Annotations already declare idempotentHint=true, destructiveHint=false, and openWorldHint=false, but the description adds real value beyond them: it discloses that no provider credentials are accepted, that the connected identity is required, what is returned (the watch and selected revision, useful since there is no output schema), and the actionable retry rule to preserve request_id and payload.

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 tight sentences with the core action front-loaded, followed by the return/credential/identity contract and a retry instruction. No filler; every clause carries a distinct piece of information.

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?

For a no-output-schema mutation tool with deep nested objects and 0% schema coverage, the description adequately covers auth, credential handling, idempotent retry, and returns. It falls short on the complex task_context/constraints payload, which is neither described nor exemplified, leaving an agent unable to use the richest part of the schema.

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 0%, so the description must carry the load. It does hint at the meaning of service_id/path_id ('service/path dependency'), frames task_context as 'bounded', and flags request_id as a value that must be preserved on retries (effectively an idempotency key). However, the large nested task_context/caller_profile structure is left entirely unexplained, so a caller has no idea what constraint fields to populate.

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 ('Save') and resource ('private service/path dependency and bounded task context'), which maps cleanly onto the service_id/path_id parameters. It does not explicitly name or contrast with siblings like unwatch_dependency or get_watchlist, but the action is unambiguous from the name and description.

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?

There is no explicit when-to-use or when-not-to-use guidance, nor any routing to alternatives such as unwatch_dependency for reversal or get_watchlist for reading existing watches. The 'no provider credentials are accepted' note is a constraint, not usage 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