agentleFS
Microsoft AzureKnown publisherAzure/azure-functions-skills/templates/skills/azure-functions-connector-validate/SKILL.md

azure-functions-connector-validate

Skill22 starsChanged 12 days agoMITView on GitHub

Validate a Connector Namespace connection and MCP tool contract before an Azure Functions Hosted Skill uses it. Use for connection and identity gates, MCP initialize and tools/list checks, schema comparison, safe read/write smoke tests, downstream side-effect verification, and Hosted Skill tool-selection testing.

The file

Show its rules and text

We split this skill into the rules it gives an agent

18 rules. About 0 are common, 14 are distinctive, and 4 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈14

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 4

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Treat connector readiness as a release gate.

    line 10
  2. Distinctive:

    Do not invent a write target or recipient.

    line 36
  3. Distinctive:

    Run gates in order and stop dependent tests after a failure:

    line 41
  4. Very specific:

    Connection status: Verify the intended connection is Connected and belongs to the expected downstream account or purpose.

    line 43
  5. Distinctive:

    Identity access: Verify the deployed Function App managed identity has an explicit connection access policy.

    line 45
  6. Distinctive:

    Configuration state: Verify the intended MCP server config is enabled, references the correct connection, has an endpoint, and exposes no …

    line 47
  7. Distinctive:

    Runtime configuration: Verify the deployed endpoint app setting and optional managed identity client ID resolve to real values.

    line 49
  8. Very specific:

    Protocol initialization: Run MCP initialize. A local test normally proves the approved developer identity path.

    line 52
  9. Very specific:

    Tool discovery: Run tools/list. Map every expected operation ID to its exact deployed tool name and reject unintended write or high-risk …

    line 55
  10. Distinctive:

    Read-only smoke test: Call the least risky representative operation and verify its business result, not merely HTTP or MCP transport …

    line 59
  11. Distinctive:

    Controlled write test: When approved, create one bounded side effect.

    line 61
  12. Distinctive:

    Never repeat a user-visible write because telemetry is delayed or ambiguous.

    line 76
  13. Distinctive:

    Use synthetic or clearly labeled test content.

    line 77
  14. Distinctive:

    Avoid production recipients, channels, calendars, files, and records unless the user explicitly approves them.

    line 78
  15. Distinctive:

    Do not print tokens, function keys, MCP endpoint URLs, connection runtime URLs, or connector callback URLs.

    line 80
  16. Distinctive:

    Keep sensitive telemetry content disabled unless the user explicitly approves the data exposure.

    line 82
  17. Very specific:

    Do not run a deployment collector from this connector skill.

    line 83
  18. Distinctive:

    no unintended operation is exposed.

    line 98

≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Validate Connectors for Azure Functions Hosted Skills

Treat connector readiness as a release gate. Validate the deployed connection, identity boundary, MCP contract, connector behavior, and Hosted Skill integration before enabling scheduled, event-driven, or autonomous use.

Ownership

This skill owns validation and evidence. It may create bounded test artifacts only when the user approves the side effect and cleanup. It does not broaden the operation set, change authentication, or silently repair infrastructure. Route those failures to:

  • azure-functions-connector-create for connection, identity, or authorization problems,
  • azure-functions-connector-mcp for missing tools or schema-contract problems,
  • azure-functions-hosted-skills for agent instructions, trigger behavior, or result handling.

Required inputs

Obtain:

  • connection and MCP server config resource identifiers,
  • expected downstream authorization owner/purpose,
  • expected tools and schema assertions,
  • explicitly excluded operations,
  • safe read-only test inputs,
  • approved controlled-write test, verification method, and cleanup,
  • Hosted Skill definition that should consume the tools.

Do not invent a write target or recipient. If a safe write test is unavailable, report the gate as not verified rather than substituting a production side effect.

Validation sequence

Run gates in order and stop dependent tests after a failure:

  1. Connection status. Verify the intended connection is Connected and belongs to the expected downstream account or purpose.
  2. Identity access. Verify the deployed Function App managed identity has an explicit connection access policy. Developer access does not prove managed-identity access.
  3. Configuration state. Verify the intended MCP server config is enabled, references the correct connection, has an endpoint, and exposes no unexpected operations.
  4. Runtime configuration. Verify the deployed endpoint app setting and optional managed identity client ID resolve to real values. An unresolved MCP URL causes the runtime to skip the server.
  5. Protocol initialization. Run MCP initialize. A local test normally proves the approved developer identity path; the managed-identity path is proven by the access-policy gate and the Hosted Skill smoke test.
  6. Tool discovery. Run tools/list. Map every expected operation ID to its exact deployed tool name and reject unintended write or high-risk tools.
  7. Schema contract. Compare required fields, nested objects, arrays, formats, enums, and descriptions with the publication handoff and authoritative connector metadata.
  8. Read-only smoke test. Call the least risky representative operation and verify its business result, not merely HTTP or MCP transport success.
  9. Controlled write test. When approved, create one bounded side effect. Verify it in the downstream system and remove or reverse it when cleanup is supported.
  10. Hosted Skill smoke test. Invoke the actual Hosted Skill through its intended trigger or endpoint. Confirm it selects the intended MCP server/tool, supplies valid arguments, handles the result, and respects confirmation or fallback behavior.
  11. Record the decision. Report each gate as pass, fail, or not verified with evidence and blockers. Do not enable automation when a required gate failed.

Load deployment-gates.md for the evidence table, failure routing, and release decision.

Safety rules

  • A bare HTTP 200 from an MCP endpoint is not connector success.
  • Successful Function execution is not proof of a downstream side effect.
  • Never repeat a user-visible write because telemetry is delayed or ambiguous.
  • Use synthetic or clearly labeled test content.
  • Avoid production recipients, channels, calendars, files, and records unless the user explicitly approves them.
  • Do not print tokens, function keys, MCP endpoint URLs, connection runtime URLs, or connector callback URLs.
  • Keep sensitive telemetry content disabled unless the user explicitly approves the data exposure.
  • Do not run a deployment collector from this connector skill. The azure-functions-hosted-skills skill owns the internal azure_deployment_observed event after its supported deployment command succeeds. Do not duplicate that event.

Definition of done

Validation is complete only when every required gate has an explicit status and evidence. The connector is ready for Hosted Skill automation only when:

  • the connection and managed identity gates pass,
  • initialize and tools/list pass,
  • the deployed tool set and schemas match the approved contract,
  • required read and controlled-write tests pass,
  • the downstream result is verified,
  • the Hosted Skill selects and handles the intended tool correctly,
  • no unintended operation is exposed.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.