Skip to main content
Glama
Dynamics 365 MCP Server

Dynamics 365 MCP Server

by Kenny-666

capture_published_script_baseline

Read-only

Reads a published UTF-8 JavaScript web resource from a named profile and returns organization evidence plus a content hash, establishing a baseline for comparison without platform signature or lock.

Instructions

Read a published UTF-8 JavaScript web resource from a named profile with organization evidence and content hash. No platform signature or lock is provided.

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": {
      "profile": "<profile>",
      "resource_id": "<resource_id>",
      "label": "<label>"
    },
    "name": "capture_published_script_baseline"
  }
}

Input Schema

NameRequiredDescriptionDefault
labelYes
profileYes
resource_idYes
environment_profileNoOptional named environment profile for this call; omit to use the configured default.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.3.0

TDQS

B3.4/5.0
Behavior3/5

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

Annotations only declare readOnlyHint=true, and the description adds real value on top: it discloses the encoding (UTF-8), that the result includes organization evidence and a content hash, and that no platform signature or lock is provided — a meaningful trust caveat. It still omits whether anything is persisted, size limits, and failure behavior, so it is good but not rich.

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 tight sentences with zero filler; the core read operation and the trust caveat are both front-loaded and each sentence carries distinct 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?

With a readOnly annotation, no output schema, and a simple flat schema, the description covers what an agent needs to call it correctly, and even sketches the return contents. The unexplained 'label' parameter and the absence of any guidance on what the baseline is later used for keep it from being fully complete.

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 coverage is 25% — only environment_profile is documented. The description partially compensates by explaining that the resource is read 'from a named profile', covering profile indirectly, and implying resource_id identifies the published script. The required 'label' parameter (max 200 chars) is never explained in either the schema or the description, which is the main gap.

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 names a specific verb-and-resource pair: read a published UTF-8 JavaScript web resource, plus what is captured (organization evidence, content hash). That distinguishes it from capture_published_form_baseline by artifact type, though it does not name that sibling explicitly.

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 statement of when to use this versus verify_form_baseline, capture_form_baseline, or the inspect_* tools, and no prerequisites (e.g., what a 'published' resource means or whether a prior publish is required). The closing caveat about missing signature/lock hints at a trust limitation but is not usage guidance.

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

Deploy Server

Other Tools